We are saying goodbye to ActiveDen on February 29. Please make sure you download any ActiveDen items before then! Read more.

YouTube player with playlist

YouTube player with playlist

Update: 21/12/2011
An ActionScript 3 version of this player it’s now available. If you previously downloaded this player, you can now download the update and get the ActionScript 3 player for free.

Update: 19/12/2011
It seems like YouTube is starting to lose interest in the ActionScript 2 API. Some of the videos do not work (the videos that contain ads).

Update: 26/09/2009
I just added a new variable to the html code where you can change the video screen size in case you want the player to stat with the medium size video and not with the playlist interface (see preview)

This is a video player based on the official YouTube API. It is XML based and you can update it easily.

Here you have an example of the XML structure:
<title>The YouTube Video Name</title>

  • xml based playlist
  • playlist with or without scroll bar (depending on the amount of tracks)
  • volume control
  • play / pause button
  • preview track and next track buttons
  • shuffle button (if pressed it will get a random video on change state)
  • repeat button (if it is pressed the current track will repeat over and over)
  • medium screen (click on the small video screen to make it bigger)
  • full screen (you can see the full screen button in the medium screen state)
  • progress bar
  • video time (the current video time place)
There are 3 variables that you can embed in the html code:
  • playlist = xml file name
  • autoplay = true or false
  • bigscreen = true or false (in case you want it to start with the medium size video screen or with the playlist interface)

If you load this player into another swf and then you want to unload it, just initiate (loader movie clip instance name).ytplayer.destroy(); before you unload the loaded swf player.

Other YouTube API based video players:

XML FLV Players