Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

Why doesn't this player work?

I've got a Flash Jukebox that I'm running on an zen cart platform. The player shows up beatifully as do all of the values. However, the mp3 doesn't play and I don't know why.

You can see the page by heading out to http://echristianwarehouse.com/Cart/index.php?main_page=product_music_info&cPath=49_52&products_id=92

I have the code written below. I don't understand the way the "FlashVars" are being called and I'm wondering if that isn't a problem.

I have a folder called "mp3" and there's an mp3 entitled "Test.mp3." Still, the player doesn't see it and In don't know why.

Suggestions?
<script language="javascript" type="text/javascript">
var so = new SWFObject("flashmp3player.swf", "player", "290", "247", "9"); // Location of swf file.
so.addParam("quality", "high");
so.addVariable("content_path","http://www.echristianwarehouse.com/mp3"); // Location of a folder with mp3 files (relative to php script).
so.write("player");
</script>
 
<object type="application/x-shockwave-flash" data="http://www.echristianwarehouse.com/player_mp3_multi.swf" width="200" height="100">
	<param name="movie" value="http://www.echristianwarehouse.com/player_mp3_multi.swf" />
	<param name="FlashVars" value="mp3=test.mp3|test.mp3|test.mp3&title=chanson 1|chanson 2|chanson 3" />
	<p>Texte alternatif</p>
</object>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Jason Thompson
Jason Thompson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial