Need help with title and picture of xspf_player
Hi! I’ve just embedded the xspf_player. When I uploaded I noticed that the playlist.xspf file changed to playlist.xspf.txt and so the player would not work. I tried getting around that by saving the file as “playlist.xspf” with quotes… it still had problems.
I finally saved it as playlist.txt and it works somewhat. The player auto-loads the songs as I had specified in the parameters, but the title does not show (and how would I make it scroll?) also the picture only shows after I click on song to play; I’d like the picture to auto-load as well.
I notice other sites with same player with picture showing. Also, what is the difference between “&autoload=1” and “autoload=true/false” or the parameters being separated by just the “&” and “&” what if any is the difference? What would I use to make player cross browser compatible?
If you can clarify some of my questions (I'm new at this) and tell me what I can do to get title and picture to show, I'd be very grateful
I've embedded player like this:
<object type="application/x-shockwave-flash"
data="http://myweb.com/xspf_player.swf?playlist_url=http://myweb.com/playlist.txt;autoload=1&main_image=music.jpg&player_title=My Title&bgcolor=222429&playlist_size=3" width="450" height="180" class="player">
<param name="movie"
value="http://myweb.com/xspf_player.swf?playlist_url=http://myweb.com/playlist.txt&autoload=1&main_image=music.jpg&player_title=My Title&&bgcolor=222429playlist_size=3" />
</object>
The playlist (saved as.txt) looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
- <playlist version="0" xmlns="http://xspf.org/ns/0/">
<title>My Title</title>
- <trackList>
- <track>
<location>http://www.myweb.com/mta.mp3</location>
<image>http://www.myweb.com/music.jpg</image>
<annotation>Name of Song A</annotation>
</track>
- <track>
<location>http://www.myweb.com/mta.mp3</location>
<annotation>Name Of Song B</annotation>
</track>
- <track>
<location>http://www.myweb.com/mta.mp3</location>
<annotation>Name Of Song C</annotation>
</track>
</trackList>
</playlist>
BTW, files are in root folder.
Thank you very much!
I finally saved it as playlist.txt and it works somewhat. The player auto-loads the songs as I had specified in the parameters, but the title does not show (and how would I make it scroll?) also the picture only shows after I click on song to play; I’d like the picture to auto-load as well.
I notice other sites with same player with picture showing. Also, what is the difference between “&autoload=1” and “autoload=true/false” or the parameters being separated by just the “&” and “&” what if any is the difference? What would I use to make player cross browser compatible?
If you can clarify some of my questions (I'm new at this) and tell me what I can do to get title and picture to show, I'd be very grateful
I've embedded player like this:
<object type="application/x-shockwave-flash"
data="http://myweb.com/xspf_player.swf?playlist_url=http://myweb.com/playlist.txt;autoload=1&main_image=music.jpg&player_title=My Title&bgcolor=222429&playlist_size=3" width="450" height="180" class="player">
<param name="movie"
value="http://myweb.com/xspf_player.swf?playlist_url=http://myweb.com/playlist.txt&autoload=1&main_image=music.jpg&player_title=My Title&&bgcolor=222429playlist_size=3" />
</object>
The playlist (saved as.txt) looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
- <playlist version="0" xmlns="http://xspf.org/ns/0/">
<title>My Title</title>
- <trackList>
- <track>
<location>http://www.myweb.com/mta.mp3</location>
<image>http://www.myweb.com/music.jpg</image>
<annotation>Name of Song A</annotation>
</track>
- <track>
<location>http://www.myweb.com/mta.mp3</location>
<annotation>Name Of Song B</annotation>
</track>
- <track>
<location>http://www.myweb.com/mta.mp3</location>
<annotation>Name Of Song C</annotation>
</track>
</trackList>
</playlist>
BTW, files are in root folder.
Thank you very much!

