Web Hosting Talk







View Full Version : HTML for a music player playlist


LCRI
09-22-2004, 10:37 PM
Hi all, Im making a site and I would like it to play a list of songs. I coded up a play but it can only play one song. If someone could give me the html code so I can have a play list that would be great.
My code is <embed src="/music/C&C.m3u" width="200" height="40" autostart="false" loop="false"></embed>

Thanks!

Trinity Webs
09-23-2004, 05:28 AM
I think it has to do with what's playing the m3u rather than the correct way of embeding it. For example, if it's playing directly in the background of Internet Explorer, I don't know if it has m3u support, however Windows Media Player does if it plays in there, or pretty much any other stand alone player it should work in.

There is an actual list of songs inside your m3u correct?

Burhan
09-23-2004, 07:51 AM
You can't give you a m3u list, because the songs referenced on it will be linked to your local hard drive.

If you must stream a playlist -- use a streaming server (shoutcast, icecast, etc.). You can't use m3u files.

LCRI
09-23-2004, 02:57 PM
oh, cool thanks.

Yes, i have about 7 songs on the playlist