XSPF is an mp3player that makes it possible to add a music background to one's site (.mp3).
It's very simple to add it to your pages, and it's customizable too.
Here's an example of XSPF at work: (click on the play button to start audio)
How to insert the player on your site
You have to upload the file you want as background for your site first.
To upload the mp3 file, follow these steps:
go to document management
push the button of the bar under the "Documents" section
select the audio file (.mp3) from your computer by clicking on the "browse..." button and click "enter"
double-click the loaded document
copy the shown address (/res/site...)
go back to site design
go to the page you want to insert the player
edit the text block tou want to insert the player into
click on
copy the following code and paste it in the "source code" window:
You'll have to replace "yourfile.mp3" with the address of the file you uploaded on your site (/res/site...), replace "Artist Name - Title" with the song title and the performer, and change EditArea into your site's name.
Here are some useful parameters to customize your player:
song_title
MP3 file title to be shown in the player
autoload
true - mp3 track is immediately loaded. Speeds up music start when the user clicks on play, but will increase your site's trafffic.
repeat_playlist
true - sets the track to loop when play ends.
b_bgcolor
b_fgcolor
Hexadecimal colour (eg FFCC00) to change the player colour.
autoplay
true - sets the track to start automatically. If omitted, the user has to click on the play button for the music to start.