Download an XSPF player. SourceForge and TRBailey both offer free XSPF player downloads (see Resources).
Upload this player and the music files in your playlist onto your server if you are running your own website. Different web hosts will have different instructions on how to upload files onto your website. Many require File Transfer Protocol (FTP), which you can use to upload files through a browser or through a free FTP client such as FileZilla (Windows), Fetch (Mac) or gFTP (Linux). See the Resources section for more information on this.
Upload your music through a free server if you do not have a website. Some free servers that allow you to upload music are Last.fm, Jukebox Alive and Muziboo (see Resources).
Upload your player through a free server if you do not have a website. Some free servers that allow you to upload files are MediaFire and Uploading.com.
The purpose of uploading these files is to have the URLs for the source code.
Open an application such as Notepad and copy and paste the following code:
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0″ xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<location>http://www.example.com/song.mp3</location>
<image>http://www.example.jpg</image>
<annotation>Name of Track</annotation>
</track>
<track>
<location>http://www.example.com/song.mp3</location>
<image>http://www.example.jpg</image>
<annotation>Name of Track</annotation>
</track>
</trackList>
</playlist>
Fill in the correct song names and URLs for the code. If you would like more tracks, copy and paste the following code above the </trackList> in the code you already have:
<track>
<location>http://www.example.com/song.mp3</location>
<image>http://www.example.jpg</image>
<annotation>Name of Track</annotation>
</track>
Fill in the correct song names and URLs for the code. The only limit to the amount of songs you can have is your Internet bandwidth. Save the Notepad as ".xspf." Upload it to your server if you have your own website.
Paste the completed code wherever you want your player to appear on your page.