...

View Full Version : XSPF player not showing playlist



markwhite1980
02-12-2009, 11:34 PM
I'm trying to get the xfps extended player going on my website. Using iweb on my mac (apologies any anti-mac people). It provides html snippet insertion so should rthe process it presumably the same for other programs/platforms.

Find below the following codes along with description of where things are. Please somebody help, I've spent two days solid on it now with no luck....I'm a musician not a programmer....just need to get my site up and running.

www.markwhitemedia.com/music

downloaded files xspf_player.as, xspf_player.fla & xspf_player.swf to page on ftp as instructed from http://musicplayer.sourceforge.net/

HTML code inserted on page (I know it's different to the original one from the source page - no mention of my site's domain, but this one actually shows the player and the original doesn't even do that)

<object type="application/x-shockwave-flash" width="400" height="170"
data="xspf_player.swf?playlist_url=http://markwhitemedia.com/music/testplaylist.xspf">
<param name="movie" value="xspf_player.swf?playlist_url=http://markwhitemedia.com/music/testplaylist.xspf" />
</object></body></html>

Soshow player but no playlist showing up with this.

Playlist is called testplaylist.xspf and has been uploaded into the music page on ftp

Playlist code:

<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<location>http://www.markwhitemedia.com/music/latelounge.mp3</location>
<annotation>Late Lounge</annotation>
<image></image>
</track>
</trackList>
</playlist>

Again I've uploaded the latelounge.mp3 file to the music page too. I have loads of tracks but want to test with only one at first to keep things simple.

If you can help I'd greatly appreciate it as it's driving me crazy!

Thanks

tagnu
02-14-2009, 06:25 AM
But, you don't have a playlist at http://markwhitemedia.com/music/testplaylist.xspf .
It shows error.

markwhite1980
02-14-2009, 04:47 PM
Thanks for the reply - I understand what you're saying. My brother pointed out a similar thingg happened when trying to type url extension /......mp3.

Can you see on the code why this may be.....as far as I can see the code looks ok.

Sorry I'm not very competent with this stuff.

markwhite1980
02-14-2009, 06:12 PM
I've sussed out the problem.

As it turns out iweb (08) requires music and photos to be uploaded in the media folder.

Just thought I'd post in case anybody else searches this problem.

Thanks Tagnu your comment led me to this.

tagnu
02-15-2009, 06:22 AM
You're welcome. Thank you for updating the thread.
Guess some day I'll get to work on a Mac.

siggma
03-17-2009, 07:20 AM
New idea:

http://xspfphp.sourceforge.net

Generates a cached, dynamic playlist from one or more directories of mp3 files.
Includes a player.php embed script to generate embedding code.
A complete music player application in one package.

DiGG it Brother!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum