Music players

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
newbie2php
Forum Commoner
Posts: 35
Joined: Wed Nov 07, 2007 4:44 pm

Music players

Post 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?
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Music players

Post by Kieran Huggins »

I've used http://musicplayer.sourceforge.net and enjoyed it.

It takes an XSPF playlist file, which you could easily generate.
newbie2php
Forum Commoner
Posts: 35
Joined: Wed Nov 07, 2007 4:44 pm

Re: Music players

Post 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?
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Music players

Post by Kieran Huggins »

I don't think the file extension matters at all - give it a try!
Post Reply