Tuesday, May 29, 2012

The YouTube Player: Now with 30% More Playlistiness!

When we launched support for lists of videos in the YouTube player in March, it was greeted with a lot of enthusiasm. However, some developers pointed out that at first glance it didn’t look very much like a playlist. In particular, they wanted the list of video thumbnails to be visible all the time.

Well, you guys asked for it, and we listened. If you pass a parameter, showinfo=1, when creating the player, the list of video thumbnails will be permanently visible. Here’s an example:

<iframe width="560" height="315" src="http://www.youtube.com/embed/?listType=user_uploads&list=GoogleDevelopers&showinfo=1" frameborder="0" allowfullscreen></iframe>

The corresponding embedded player is shown below:



To see all of the parameters that the YouTube player supports, refer to the documentation. If you have any questions, feel free to post them to the YouTube API Google Group.

Cheers,
—Shannon -jj Behrens, YouTube API Team