embedding youtube channels on a website and extracting channel data
hey everyone i have two questions pertaining to youtube:
1) how do you go about embedding youtube channels on your website? so far i've been using this method开发者_开发技巧:
<script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/youtube.xml&up_channel=illbehonest&synd=open&w=320&h=390&title=&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>
and http://plugins.jquery.com/project/ChannelPlaylist
but none have proven to be really feasible!
2) how do you go about extracting youtube channel data for entry into a mysql database? (for example video title, time/date uploaded, url) is there any jquery plugin that does this?
many thanks
I've had the same problem (point 1), and ended up rolling out my jquery based channel player. It's very simple and easy to extend and customize using css. It works also on iPad/iPhone, which was the weak point of the gmodules solution and other custom players.
It's here : http://code.google.com/p/jq-youtube-player/
Feel free to use it, customize it, improve it etc..
Regarding point 2 : you should ask a specific question, giving details about what programming language you are using and what/when you need to save on db.
You're going to need to use YouTube's native API, probably, and make a call separate from the channel script
tag. They have options in a number of different languages and tutorials/examples to go along with. Check it out here.
Hope that helps.
精彩评论