Open Source Flex XML MP3 Player (xspf)

This is a really awesome mp3 player that I made to mimic an actionscript 2 xspf player, but built with actionscript 3 and flex… it’s great and open source!

Finally it’s here…


Flex xml mp3 player

Basically you can specify an xml playlist from the url, and have it play whatever is in the playlist…

The links for the examples are on the right side.

You can also specify the playlist in the url if you’d like:

here are the variables you can use:

  • playlist_url : the url of the xspf file to load
  • podcast_mode : (true/false) if true the playlist url could be an rss feed to a podcast and it will play the all of the podcasts
  • repeat_playlist : boolean value that make the repeats the playlist after the end
  • song_url : String the href location of a single song you want to play, when this is used playlist_url is ignored
  • song_title : the name of the song you want to use

The music player can also be used to play single mp3 files instead of playlists, the parameters are:

  • song_url : the url of the single mp3 you want to play
  • song_title : the text to replace the players default’s

and you could even create a custom playlist on your site (this link doesn’t work it’s an example)

and as long as it was in the right format, it’s all good….

here is the format

right click and view source to actually copy and paste xml…

It’s loosely based on the xspf (‘spiff’) standard, it’s an open source shareable playlist format…

Here is the documentation on it:

here is another example of a playlist

  • Things that i hope for
  • to get the podcast version relased
  • people will report bugs (the issues tab) on the google code site Google Code
  • people will report features they want on the google code site Google Code

  • Examples – Coming soon (hopefully people start to use it and email make me some tutorials)
  • How to Skin the mp3 player

xml details (listed alphabetically)

Page 1 of 2 | Next page