Retrofitting Flash Music Player

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jagger
Forum Newbie
Posts: 4
Joined: Mon Dec 22, 2008 1:20 am

Retrofitting Flash Music Player

Post by jagger »

Hi,

I had a flash music player designed for Drupal. The player plays from an xml file. My client decided they didn't want to use Drupal. I have been fiddling around with getting the player to work on a Wordpress site. I thought as long as I inserted the music player and told it where the xml playlist was, it would work.

Right now this is what the html looks like(domain name has been changed to protect client)

Code: Select all

 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="300" title="Music player"><param name="movie" value="http://url.com/music_player/modules/music_player/music1.swf" />
    <param name="xmlPath" value="http://url.com/music_player/modules/music_player/" />
    <param name="xmlName" value="http://url.com/music_player/modules/music_player/" />
      <param name="quality" value="high" />
    <embed src="http://url.com/music_player/modules/music_player/music1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="300"></embed>
    </object>

The player displays, but does not load the xml playlist. The param nam xmlName and xmlPath seem to be set by the flash player. I don't have the latest version of flash myself and all I have is the swf file.

I went into the module code in drupal and changed the xml path to be absolute, but it still does not load. I want to separate the flash player from the drupal module if possible.
Post Reply