...

View Full Version : xspf player is playing a random playlist



thestonecloud
12-11-2009, 07:24 PM
i have an xspf player on my site. www.thestonecloud.com

all of my info seems to be good, but when i view it with dw cs4, and also at the site itself, the player loads, but some random playlist is playing, and my playlist link is the right info. why is this? here is the code i am using.

player...

[CODE]<object type="application/x-shockwave-flash" width="400" height="170"
data="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url="http://www.thestonecloud.com/music/playlist.xspf">
<param name="movie"
value="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url="http://www.thestonecloud.com/music/playlist.xspf" />
</object>[CODE]

playlist..

[CODE]<?xml version="1.0" encoding="UTF-8" ?>
- <playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>Radio Planet</title>
- <trackList>
- <track>
<location>www.thestonecloud.com/music/rock/r11.mp3</location>
<image>songaimage.jpg</image>
<title>MGMT- Electric Feel</title>
</track>
- <track>
<location>www.thestonecloud.com/music/rock/r06.mp3</location>
<title>Alkaline Trio- 'till we've had enough</title>
</track>
- <track>
<location>www.thestonecloud.com/music/rock/r07.mp3</location>
<title>Rammstien- Amerika</title>
</track>
- <track>
<location>www.thestonecloud.com/music/rock/r08.mp3</location>
<title>Demi Levato- Here We Go Again</title>
</track>
</trackList>
</playlist>[CODE]

as you can clearly see that's not my playlist. in fact, in all of the code on my page i can't find a reference to any other playlist... at all!!!! please.... what is happening? all my bright ideas have come to a screeching halt because of this simple hang up..... -josh

_Aerospace_Eng_
12-11-2009, 07:47 PM
Its partly your fault. Change this

<object type="application/x-shockwave-flash" width="400" height="170"
data="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url="http://www.thestonecloud.com/music/playlist.xspf">
<param name="movie"
value="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url="http://www.thestonecloud.com/music/playlist.xspf" />
</object>
to this

<object type="application/x-shockwave-flash" width="400" height="170"
data="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url=http://www.thestonecloud.com/music/playlist.xspf">
<param name="movie"
value="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url=http://www.thestonecloud.com/music/playlist.xspf" />
</object>
You had an extra quote in there.
That isn't the code on your site btw.

thestonecloud
12-12-2009, 06:15 PM
thank you so much sensei! works like a charm. now i just have to work on the undefined part of the playlist..... and yeah i was changing some players around trying to get it to work, but now i have this one back up there because it gives me more control.. thanks a ton! i owe ya!-jt



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum