Get from youtube playlist video, with jQuery, api
Can somebody help me to suggest how can I get the play list from the youtube URL:
this is the URL :
http://www.youtube.com/CalgaryStampede1912
An开发者_JAVA百科d I want to get the playlist or the first 2 videos from this video category with jQuery .
Or there is some jQuery plugin for that ...
Thank You !!!!!
You can query for a user's videos, which is what it sounds like you're trying to do. You can do it like this (see API call here) :
http://gdata.youtube.com/feeds/api/videos?v=2&author=CalgaryStampede1912
And to access it in Javascript, you'll probably want Google's Javascript client library here: http://code.google.com/p/gdata-javascript-client/ That will probably be the easiest way to call it in Javascript.
You can try RSSREADER plugin.
精彩评论