diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Create Your Own YouTube Slam; New YouTube Embed Player Options for Lists of Videos

Google recently made a number of enhancements around list playback functionality to its YouTube embedded player, here are they:

The first change of note is the syntax for embedding the player in an HTML document. As for single-video playback, you can use the

embed code to load a list of videos, and the IFrame embed supports HTML5
playback in environments where Flash isn’t available.

Another change relates to the lists of videos is that &”the player no longer limited to just displaying videos from an actual YouTube playlist. You can also load a user’s uploaded videos, a user’s favorite videos, or videos matching a specific search term,” informs Google.

“In the embed URL, the listType and list parameters control the list of videos that is loaded. The listType value can be either playlist (the default), user_uploads, or search. Depending on the listType value, the list parameter value should be set to the desired playlist id, YouTube user ID, or search term,” Google explains. For example, the following embed code displays the most recent videos uploaded in the “GoogleDevelopers” YouTube channel:

The corresponding embedded player is shown below:

Finally, developers who want more control over their player than what a simple embed code offers, a full YouTube JavaScript API is available for use. There’re methods for loading lists, moving to the next/previous video in a list, and controlling whether playback is shuffled or looped.

Also, Google has put together a sample page to give you an idea of how you can use this new JavaScript Player API functionality.

Also, YouTube Slam, that pits two videos against each other, is seeing hundreds of thousands of users cast more than a million votes on Slams. Google now let you turn any of your playlists into a YouTube Slam.

Here’s how to do it:

  1. Make a playlist with the videos you want to include in the Slam (you’ll need at least two videos and they have to be public), or choose a playlist you have already
  2. Go to www.youtube.com/slam/create
  3. Click the “Create Slam” button next to one of your playlists. It’ll look like this:

    Creating YouTube Slam

    When you click “Play Slam” you’ll be taken into your game, and Google will show the highest scoring videos and players on the leaderboard page of your Slam. Click “View the winners” at any time to check it out.

Also, you can now play custom or existing Slams live with friends inside a Google+ Hangout by clicking the “Play Slam with your friends” link.

You can also share the YouTube Slam link with friends directly to get more people playing. If you feel like the Slam has been settled, you can remove it at any time.

Share/Play YouTube Slams in Google+ Hangout

Share This Story, Choose Your Platform!