FAQ  •  Register  •  Login

Need help with title and picture of xspf_player

<<

learning

Posts: 1

Joined: Wed May 07, 2008 12:54 am

Post Wed May 07, 2008 9:09 pm

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 “&amp;” 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!
<<

boriel

Site Admin

Posts: 1145

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Mon Dec 29, 2008 4:11 pm

Re: Need help with title and picture of xspf_player

This plugin is a php plugin for wordpress. If you want help on using the .swf player (Flash player) directly into a web page, go to http://musicplayer.sourceforge.net

Return to XSPF Player Plugin (English)

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO