Do you want to have something like this on your website?
Here's the code to be embedded on your website:<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="15" id="xspf_player" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.yourdomain.com/xspf_player_slim.swf?playlist_url=http://www.yourdomain.com/DCTalk.xspf&autoplay=true" />
<param name="quality" value="high" />
<param name="bgcolor" value="#e6e6e6" />
<embed src="http://www.yourdomain.com/xspf_player_slim.swf?playlist_url=http://www.yourdomain.com/DCTalk.xspf&autoplay=true" quality="high" bgcolor="#e6e6e6" width="400" height="15" name="xspf_player" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
Before that, you have to download the XSPF Web Player from http://musicplayer.sourceforge.net/ first, and upload them to your web server.
Then, you have to create the XSPF Playlist. Here's the XSPF Playlist code:
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0" xmlns = "http://xspf.org/ns/0/">
<trackList>
<track>
<location>http://www.yourdomain.com/file1.mp3</location>
<image></image>
<annotation>DC Talk - Betweek You and Me</annotation>
</track>
<track>
<location>http://www.yourdomain.com/file2.mp3</location>
<image></image>
<annotation>DC Talk - In the Light</annotation>
</track>
</trackList>
</playlist>
NOTE: Make sure you have the MP3 files uploaded to somewhere (ex: www.fileden.com) on the Internet.
For more information, visit: http://musicplayer.sourceforge.net/
-- Rm 8 : 28; Is 55 : 8-13
No comments:
Post a Comment