Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default A flash MP3 player into a blank sidebox!

    Can any body help on that ! as I wanted to add a flash MP3 player into a blank sidebox which I have Installed recently, I have been in all discussions about this issue but nothing brought my flash player to life! I'm working on a test ZC which I build it for testing reason, but nothing shows in yet, the code that I embedded is :
    <script type="text/javascript">
    var so = new SWFObject("http://www.arab-broker.com/oriental2/media/playerMultipleMenuPackage/playerMultipleList_old.swf", "mymovie", "295", "200", "7", "#FFFFFF");
    so.addVariable("autoPlay","no")
    so.addVariable("playlistPath","playlist.xml")
    so.write("flashPlayer");
    </script>
    I'm using a Bi-lingual website as for the Arabic language the content of the blank sidebox is gone and in the English version it shows this : TEXT_BLANK_SIDEBOX

    Should I add the link for the flash player where it says : so.write("flashPlayer");And should I add the path for the xml file where it says : so.addVariable("playlistPath","playlist.xml")and if so where exactly, in ("playlistPath" or "playlist.xml") ?

    the link for the test website:
    http://www.arab-broker.com/oriental2...ex&language=en

    what did I do wrong here ?

  2. #2
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: A flash MP3 player into a blank sidebox!

    I just forgot to say I added the script in the tpl_blank_sidebox.php, so it should look like this :
    <?php
    /**
    * blank sidebox - allows a blank sidebox to be added to your site
    *
    * @package templateSystem
    * @copyright 2007 Kuroi Web Design
    * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: blank_sidebox.php 2007-05-26 kuroi $
    */

    $content = '';
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';

    // Replace the text and HTML tags between the apostophes on lines 19 and 20.
    // Use as many or as few lines using this model as you need for your custom content.
    // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19.
    // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
    $content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';
    $content .= '<p><script type="text/javascript">
    var so = new SWFObject("http://www.arab-broker.com/oriental2/media/playerMultipleMenuPackage/playerMultipleList_old.swf", "mymovie", "295", "200", "7", "#FFFFFF");
    so.addVariable("autoPlay","no")
    so.addVariable("playlistPath","playlist.xml")
    so.write("http://www.arab-broker.com/oriental2/media/playerMultipleMenuPackage/playerMultipleList_old.swf");
    </script>.</p>';

    $content .= '</div>';
    ?>

 

 

Similar Threads

  1. v139h MP3 player in product page?
    By Nordenfor in forum General Questions
    Replies: 0
    Last Post: 17 Jun 2012, 05:46 PM
  2. Flash mp3 player on downloads page
    By Glendon in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Jul 2008, 01:38 PM
  3. Flash Mp3 in a Blank Sidebox
    By davidandrews in forum Templates, Stylesheets, Page Layout
    Replies: 23
    Last Post: 8 Jan 2008, 02:04 PM
  4. New SSL - Flash Player in Blank Sidebox breaking Cert
    By hifipj in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 4 Jan 2008, 04:44 PM
  5. mp3 player question
    By djlee in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 1 Aug 2006, 09:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg