开发者

How do I embed a youtube channel?

开发者 https://www.devze.com 2023-03-13 23:05 出处:网络
How do I embed a youtube channel that will show the latest video from that user? Say for instance, the latest video on this page: http://www.youtube.com/citizentube

How do I embed a youtube channel that will show the latest video from that user?

Say for instance, the latest video on this page: http://www.youtube.com/citizentube

Please don't tell me to go to http://www.youtube.com/custom_player because that page is dead. And please don't reference http://code.google.com/apis/youtube/overview.html unless you have a specific example. I've looked, haven't found anything.

This is crazy frustrating. Apparently there was embed code right on the channel/user page back in 2010. But it is nowhere to be found now.

Thanks, P开发者_如何学Goeter


I made a script that find the latest videos from any youtube user of your choice. It contains of both html, php and javascript code. What it basically does is it read the rss feed ( http://www.youtube.com/rss/user/citizentube/videos.rss ) from that user and build a list you can click and watch the videos from. The very last video will load as default. You can try it by adding these few lines of javascript into your website:

<script language="javascript" type="text/javascript" src="http://lablogic.net/scripts/infotube/webtube.js"></script>

 <script language="javascript" type="text/javascript"> init(470,65,"citizentube",300,220);  </script>

or you can go to: youtube webviewer and customize your own. Just type your channelName behind "channel" and hit "Try it". My php script will then generate the short javascript you need. You can also move the channelviewer with your mouse.


The following page documents a 3 step procedure to do this, using Yahoo Pipes:

http://x10hosting.com/forums/tutorials/161362-how-automatically-embed-latest-video-youtube-channel-your-site.html

0

精彩评论

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