Youtube - 如何使用PHP,JavaScript和jQuery从用户频道获取所有视频? [英] Youtube - How to get all videos from user channel with PHP, JavaScript and jQuery?

查看:100
本文介绍了Youtube - 如何使用PHP,JavaScript和jQuery从用户频道获取所有视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许我正在寻找一些东西,但是从我查看过的所有API文档中都没有提及我已经发现或者示例显示youtube是否提供特定于频道的提要

Maybe I am over looking something, but from all the API docs I've looked at theres no mention that I have found as of yet or examples to show if youtube offers channel specific feeds

我最想做的是用一点点php和javascript获取这个特定用户的所有视频

what I want to do ultimately is with a little bit of php and javascript get all the videos for this particular user

http://www.youtube.com/user/stevesattlerfilms

然后列出它们因此在他的网站上。因此,当我遇到麻烦找到我的答案时,我决定来到这里,我认为这可能是一个重复的问题,不知何故,如果是,我很抱歉。但是,如果有人能指出我正确的方向,那对我来说足够有用。谢谢。

and then list them out on his site accordingly. So seeing as I am having troubles finding my answers I decided to come here, I figure this may be a repeat question somehow somewhere and if it is I am sorry. But if anyone can point me in the right direction that'd be helpful enough for me. Thanks.

推荐答案

我会请求视频Feed 并使用作者参数。这应该会为您提供特定用户的所有视频。

I would request a video feed and make use of the author parameter. This should give you all the videos of a specific user.

在您的示例中: http://gdata.youtube.com/feeds/api/videos?author=stevesattlerfilms

这篇关于Youtube - 如何使用PHP,JavaScript和jQuery从用户频道获取所有视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆