从YouTube播放列表的视频获取,使用jQuery,API [英] Get from youtube playlist video, with jQuery, api
问题描述
有人可以帮我建议我怎么可以从YouTube网址播放列表:
Can somebody help me to suggest how can I get the play list from the youtube URL:
这是网址:
http://www.youtube.com/CalgaryStampede1912
和我想从使用jQuery这个视频类播放列表或第2视频。
And I want to get the playlist or the first 2 videos from this video category with jQuery .
还是有一些jQuery插件的...
Or there is some jQuery plugin for that ...
谢谢!!!!!
推荐答案
您可以查询某个用户的视频,这是什么,它听起来就像你正在试图做的。你可以做这样的(见 API调用这里)
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 /视频v = 2及?笔者= CalgaryStampede1912
和访问它在Javascript中,你可能会想谷歌的JavaScript客户端库在这里:的 HTTP://$c$c.google.com/p/gdata-javascript-client/ 这将可能是调用它在Javascript中最简单的方法
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.
这篇关于从YouTube播放列表的视频获取,使用jQuery,API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!