YouTube player with playlist
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)
Update 20.09.2009:
remydk made a little application that will let you browse YouTube and add videos directly to the XML file. You can check it out here:
http://www.remy.dk/Video/YouTube.html
Thank you very much remydk!!
remydk made another version:
http//www.remy.dk/Video/YouTube2.html
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:
<track>
<title>The YouTube Video Name</title>
<youtube>YOUTUBE_ID</youtube>
</track>
- 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)
- 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











Request processing...
46comments