Open Source Thought

Free MP3 XML Playlist Player

MP3 Playlist Player

If you haven’t seen Viewzi, go check it out right now. Its a great way to view your search results. My favorite view is the “song view” made by Joshua Sterns. Well I saw this and thought everyone should have a beautiful and easy to use interface like that for their own content. So I made one and am now releasing it to you. Its very simple and it resizes to fit almost any size. Make it full screen or make it part of a page. All you have to do is make a playlist that is structed like this:

<?xml version=”1.0″ ?>
<playlist>
<song title=”Chocobo Piano Loop” artist=”DJ_XBrav” src=”mp3s/NG5402.mp3″ />
<song title=”House Of Kalm” artist=”ProfitZ” src=”mp3s/NG7890.mp3″ />
</playlist>

And pass it in through the Flashvars through the HTML. Here is an example of that code:

<param name="flashvars" value="xmlpath=mp3_playlist.xml" />

Still not sure how to do it then check out the example and view the source of the page. You can also download the source below and change it as much as you want.

Enjoy!

  • Hi, downloaded the package and I can fla files for all the elements but for the main file. If that was deliberate, ok by me else could you please update the zip with the fla/ as file for the main file. It is one of the best looking players I have seen out there.. :-)
  • dale egan
    Hi, I downloaded the package and uploaded to a folder /MP3_Playlist
    then I copied the code in the example and called it mp3_playlist.html

    When I view it the songs seem to load but when I hit the play button there is no sound....here is the link to the page if you have any time to help.....

    http://www.grievingchildrenlighthouse.org/MP3_P...

    this folder also contains mp3_playlist.html
    This looks like a great player... I'm hoping to use it for a charity site where kids can listen to prepared .mp3s
  • You need to edit the xml file that lets the mp3 player know what mp3 files to play.
  • dale egan
    I always seem to get muddled up with the relative addressing..... throwing in the whole address worked a treat.... I'll play with it a bit now... thanks for the help.
  • Morgan
    love this mp3 player, but it often doesn't work in firefox. instead of displaying the player it often displays the "download the latest flash" icon when i have the latest flash. works fine in safari. i checked my xml paths... what else could it be?

    thanks!
blog comments powered by Disqus