View Full Version : coding for mp3 player


sk24iam
10-27-2006, 02:04 AM
I have the flash mp3 player from lissa's site embedded on my site. What command can I add so it doesn't play the next song on the list when one finishes. I'd rather have it not continuosly play through the playlist to conserve bandwidth.

Heres the code I used...

<object type="application/x-shockwave-flash" data="http://www.
yourdomain.com/xspf_player.swf?playlist_url=http://www.
yourdomain.com/playlist.xspf&autoplay=true
&repeat_playlist=true&player_title=KICK&playlist_size=3"
width="400" height="151">
<param name="movie" value="http://www.yourdomain.com/xspf_player
.swf? playlist_url=http://www.yourdomain.com/playlist.xspf&
;autoplay=true&repeat_playlist=true&player_title=
KICK&playlist_size=3" />
</object>

J to the izzosh
10-27-2006, 02:56 AM
Here are all of the parameters for the player (http://musicplayer.sourceforge.net/#documentation). It doesn't look like it supports the functionality you seek. It can be set up, however, to load only one track instead of an entire playlist.

sk24iam
10-27-2006, 05:38 AM
Yeah I saw those. I was hoping there was an option I didn't know about where it wouldn't keep it running. I'm worrid about people leaving the homepage up and the music player running down the bandwidth. Does this thing typically use a lot?

J to the izzosh
10-27-2006, 06:03 AM
If someone left the player open, it wouldn't keep using your bandwidth. Once the songs were downloaded downloaded they would be in their browser cache, at least until the page was refreshed, and wouldn't be constantly streaming from the site when the songs repeated.

How much bandwidth it uses will depend on the size of the audio files that you're streaming.