XSPF Web Music Player (Flash) - Plays MP3 on your website

about | showcases | screenshots | latest release | documentation | donate | latest news | developers

Music Player Slim

Music Player Extended

requires flash7 plugin, click to start

Music Player Button

Music Player Sidebar

Add Music Player Sidebar to your Firefox!

Playlists used on the demos provided by Hideout web radio


XSPF Web Music Player is a flash-based web application that uses xspf playlist format to play mp3 songs. XSPF is the XML Shareable Playlist Format. The software is written in Actionscript 2.

Lastest Releases (Apr 05, 2006)

Important message:

Please don't link the swf files hosted by sourceforge directly, this files are for the demos on this page only.

Since November 17, 2006 sourceforge disabled hotlinking for the swf files, due to bandwidth so if your website or MySpace page used the html code containing the hotlink, please update it to use other server instead of sourceforge.net


Tha player receives the parameters on the query string, the most important parameter is the playlist_url, that tells the player wich xspf playlist to play, if you leave it blank the player will play a default playlist.

Some examples of how to load the playlists:



playlist_url : the url of the xspf file to load
autoplay : boolean value that make the music start without the initial user click
autoload : boolean value that make the playlist load without the initial user click
repeat_playlist : boolean value that make the repeats the playlist after the end of the last song playlist_size : number of tracks to limit
player_title : the text to replace the players default's
info_button_text : the text to display on the info link, see this page
radio_mode : boolean value, if true tells the player that the last track of playlist is in real a new playlist location. more info

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
If you want to use the button player, there is a test page to custom the button and generate the html code.

Embeding the player on a HTML page

The basic code is:
<object type="application/x-shockwave-flash" width="400" height="170"
<param name="movie" 
value="http://yourdomain.com/xspf_player.swf?playlist_url=http://yourdomain.com/yourplaylistlist.xspf" />

You can use Peter Forret's Webjay Wizard to generate the HTML code, and Aldrin Hanley also wrote a good help file with instructions on how to use and embed the XSPF Web Music Player.

Check out this nice and detailed article at forevergeek.com.

Important notes


Music Player 0.1.8 used by http://hideout.com.br
XSPF Web Music Player context menu


These are some of the websites that currently use the XSPF Web Music Player:


Labels/Record Studios


Podcasting/Radios/MP3 Blogs

Weblogs/Personal Home Pages

Online Communities

If you want to add or remove your website to the list, please send me a message


Music Player is Open Source Software, licensed under the BSD and can be used and modified by anyone, including for commercial purposes.

I work on this project mostly on my free time, and as a human being I enjoy receiving emails of support, postcards from around the world, gifts, and (why not?) money support :)

If you find it useful please consider making a donation. If you want to support the development of any particular feature or be a featured Patron of this project please contact me.

Support This Project

Using paypal you also tip the fine folks of sourceforge.net!

Special thanks to this patrons:

Steffan Klein, from 3D3.COM Pty Ltd , for funding the development of the Button and Button w/ menu versions of the player! Currently our main patron.
Derek Sivers, from CD Baby. Great supporter of the player and the xspf format, runs a nice site/service. Release 0.2 with the info element support was a thanks for their help.

Donations RSS:


Visit the project page on SourceForge, and contribute.
The font we use in the interface is the amazing and free Jason Kottke's Silkscreen.

Latest News:

SourceForge.net Logo Support This Project
Copyright (c) 2005, Fabricio Zuardi All rights reserved.