开发者

How can i see all videos in a youtube channel?

I want to get all videos in a YouTube channel. Is there any way to do that? C开发者_运维技巧an be with pagination, but I can't see any pagination (can't use ajax). I can get urls with PHP.


See the Developers Guide | Videos uploaded by a specific user.

For example the following code retrieves the list of videos uploaded by $userName. You have to page through the results.

function getAndPrintUserUploads($userName)                    
{     
  $yt = new Zend_Gdata_YouTube();
  $yt->setMajorProtocolVersion(2);
  printVideoFeed($yt->getuserUploads($userName));
}  
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜