Why doesn't this player work?

Posted on 2009-02-19
Last Modified: 2012-06-22
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

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.

<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",""); // Location of a folder with mp3 files (relative to php script).



<object type="application/x-shockwave-flash" data="" width="200" height="100">

	<param name="movie" value="" />

	<param name="FlashVars" value="mp3=test.mp3|test.mp3|test.mp3&title=chanson 1|chanson 2|chanson 3" />

	<p>Texte alternatif</p>


Open in new window

Question by:brucegust
    1 Comment
    LVL 18

    Accepted Solution

    It looks like you're using this MP3 player, which according to the installation instructions, requires a supplied PHP script.  From the instructions:

     Add this to the body of your webpage, where you want player to appear:
     <!-- Div that contains player. -->
     <div id="player">
     <h1>No flash player!</h1>
     <p>It looks like you don't have flash player installed. <a href="" >Click here</a> to go to Macromedia download page.</p>
     <!-- Script that embeds player. -->
     <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","mp3"); // Location of a folder with mp3 files (relative to php script).
     so.addVariable("color_path","default.xml"); // Location of xml file with color settings.
     so.addVariable("script_path","flashmp3player.php"); // Location of php script.

    Add the script parameters and locations back in, and you should be up and running.

    Hope this helps.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
    This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
    The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now