Youtube player for multiple videos from various accounts - youtube

I have a page that has many videos on it and the page has become so slow it is unusable. These are all Youtube videos and I changed to the new iFrame tags hoping that would help the loading. I need a solution to make this page more useable.
I would be happy if I could just pull a frame from the video and display that, when clicked it would load the video. Or I would be happy with a multi-video player. The custom play from Youtube will not work because the videos I am serving are not all from my account and as I understand the custom player you reference a group from your account. I have also considered using AJAX to load the iframe, which would be okay too if I could figure out how to get a thumbnail of the video to show as a link.
Ideas and suggestions are welcome. Thanks in advance for any ideas.

YouTube API is made up of 2 different sets - one for the player and one for the data.
You can start here ...
http://code.google.com/apis/youtube/overview.html
... then click on "Data API" link and after looking over that page, click on the "Reference Guide" link.
In essence, the gData API will allow you to get videos in numerous ways (feeds, channels, tops, etc) in chunks of up to 100 videos at a time, using a startIndex (or whatever it may be called) option for paging. What you get is an XML document with parts or everything that YT has about a video, including not one but several different thumbnail images.
HTH helps you and/or another Web 0.2 Fellow (like me)

Related

Adding multiple youtube playlists to site just like youtube has em

this is desired output for site
this is how youtube displays multiple playlist...how can I add this just like they have it to my site AND to linkedin profile?
embedding the share html link just brings in playlist but it does not display properly....I need it to appear exactly like it does in attached pic???
Linking to your LinkedIn profile, I have not tried. So perhaps someone else can tell you.
As to having a section like the one you showed to be on your own site is doable.
Firstly you will need to collect the playlist ID's that you are going to use.
Then you will need to get the video ID's from the video's in each Playlist.
This can be done with the API.
As to the displaying it like on youtube, you will need to do that yourself with one or more combination of table's, div's and CSS. Then With the information you grabbed in the APi, populate it.
Best to do it in a loop so as to be done all at the same time. Then put it to the page where you require it to be.

jekyll/octopress embedded youtube videos caching issue

I have an octopress site http://irlnathan.github.io/sailscasts/ that embeds different screencasts from youtube. The correct video is displayed when the site is initially loaded, however, when a particular post is selected and one goes back from the browser all of the embedded videos point to the same single video.
I'm hosting the pages on github and I can't figure out why the pages are I think being cached in this way. Has anyone run into this problem?
I don't see the problem you described for your site.
But You might want to add <!--more--> before your videos so that videos are not shown in the blog list page. All these videos made the page loading a bit slow, which kinda defeat the purpose of using static page.

Embed YouTube on site, to open in a NEW PAGE (NOT within the same page)

OK, I have thoroughly searched for an answer, and have not found one that WORKS correctly. I have a page full of videos - listing training videos, each will have a link to a youtube video (all videos have been uploaded to youtube), but will open up in a NEW PAGE on my site. I am a novice website designer, and the problem seems to be that people are anxious to give me half of the code, rather than being explicit with it. Can you help, please?
You need to get the embedding url.
For instance, instead of: https://www.youtube.com/watch?v=JPx3A6XEUF0
use this: https://www.youtube.com/embed/JPx3A6XEUF0

How to get video download link from youtube?

I searched far and wide and came up with nothing.
Ok, that is not completely true, there are in fact tons of solutions on the Internet (even here on stackoverflow) on how to get a download link for youtube video, but not a single one of them is working anymore, since youtube seems keep changing things all the time.
What I want to do, is to write a PHP script which will be able to download video from specified youtube page and then save it on the server in flv or mp4 format.
I can get some video information by downloading this: http://www.youtube.com/get_video_info?&video_id=VIDEO_ID
But thats about it, no matter what I do, I just cannot figure out how find the link pointing to the video download.
I tried to use this link: http://youtube.com/get_video?video_id=VIDEO_ID&t=TOKEN&fmt=18&asv=2 from one more recent solution I found, but either there is something missing in it, or it's completely outdated already too.
So how can I dig out some working link for direct video download from youtube?
There has to be some way to do it, since there are some web pages out there which provide this service.
Thank you for any advices.
I prefer RealPlayer to download videos from youtube and other video sharing sites like metacafe, funnyordie and others. You're able to download in both mp4 or flv format, save them, and view them whenever you'd like.. even if you're not online which is great for travel. http://www.real.com/realdownloader

How to add YouTube videos to watching queue?

I have a list of youtube video links on a page. I want to let user mark interesting ones, programatically add them to a watching queue, and then forward a user to YouTube where they can watch all those videos in sequence. Is it possible?
I dont think youtube has a feature to access yt quicklist etc, but you can easily do it with youtube javascript api, if is it ok that the videos gonna be played inside your site.
http://code.google.com/apis/youtube/js_api_reference.html
Embed a youtube player with js api in your site, then you can make a simple js array for queue.
If this solution is ok for you, i gonna write some more details about it, if you're interested in.

Resources