Page 1 of 1

Music players

Posted: Sun Jan 13, 2008 7:56 am
by newbie2php
Hi all

Been looking on the net for any music players I could embeed into pages on my website. The playlist will be custom and be extracted from a playlist in a database.

So I would need to be able to specifiy the playlist, the file location of the music, the song names etc... as it will be dynamic in nature.

Has anyone got any advice or recommendations on music players I could download and use?

Re: Music players

Posted: Sun Jan 13, 2008 8:35 am
by Kieran Huggins
I've used http://musicplayer.sourceforge.net and enjoyed it.

It takes an XSPF playlist file, which you could easily generate.

Re: Music players

Posted: Sun Jan 13, 2008 12:14 pm
by newbie2php
Kieran Huggins wrote:I've used http://musicplayer.sourceforge.net and enjoyed it.

It takes an XSPF playlist file, which you could easily generate.
Hi, thnks for that, looks great.

In regards to generating the playlist - I would ideally want it so the XSPF autogenerates when someone goes on that page.

It would great if I could create it in PHP as I would need to loop through some database rows to get the music paths, titles etc..

Does the file extension have to be .xspf or can I create a .php with the same contents?

Re: Music players

Posted: Sun Jan 13, 2008 12:16 pm
by Kieran Huggins
I don't think the file extension matters at all - give it a try!