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?
Music players
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Music players
I've used http://musicplayer.sourceforge.net and enjoyed it.
It takes an XSPF playlist file, which you could easily generate.
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
Hi, thnks for that, looks great.Kieran Huggins wrote:I've used http://musicplayer.sourceforge.net and enjoyed it.
It takes an XSPF playlist file, which you could easily generate.
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?
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Music players
I don't think the file extension matters at all - give it a try!