Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 537
  • Last Modified:

Flash not appearing in Internet Explorer - Zen Cart application

Hello,
I am having trouble getting a Flash <object> to appear in Internet Explorer. I am building a site using Zen Cart, and adding the Flash object in the description area through the admin panel. It works fine Firefox (Windows and Mac) and Safari.

Here is a link to the page:
http://www.teachmetapes.com/catalog/index.php?main_page=index&cPath=4&zenid=f62cc5687d7d1af33398cfc72fd51f87

Here is how the Flash is placed:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="230" height="100" id="spanPlayer">
            <param name="allowScriptAccess" value="sameDomain" />
            <param name="movie" value="chinPlayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="flash_files/chinPlayer.swf" quality="high" width="230" height="100" name="chinPlayer" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
            </object>
                <script type="text/javascript" src="http://www.teachmetapes.com/catalog/includes/templates/teach_me/jscript/ieupdate.js"></script>

At the end is a script that was supposed to help, but didn't.

The strange thing is that on the static version of the site, the flash appears fine:
http://www.teachmetapes.com/chinese.html

Also, I got it to appear in IE when I mistakenly placed the code over an opening <span> like this:
<p>Opening paragraph here <span class="i<object.... code here...</object>

It worked, but it obviously messed with the css layout as the <span> was never fully opened, or closed, and there was no closing </p>.

Thanks everyone.
Bryan
0
Studio2Design
Asked:
Studio2Design
1 Solution
 
kindaAbstruseCommented:
I don't believe you are mapping to the swf file correctly in the object tag

check it out

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="230" height="100" id="spanPlayer">
          <param name="allowScriptAccess" value="sameDomain" />

         
<param name="movie" value="chinPlayer.swf" />


<param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />
<embed src="flash_files/chinPlayer.swf" quality="high" width="230" height="100" name="chinPlayer" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

</object>


According to the embed tag the movie source is "flash_files/chinPlayer.swf"

The object (which IE uses) tag the movie source is "chinPlayer.swf"

Try this

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="230" height="100" id="spanPlayer"><param name="allowScriptAccess" value="sameDomain" />  
<param name="movie" value="flash_files/chinPlayer.swf" />
<param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />
<embed src="flash_files/chinPlayer.swf" quality="high" width="230" height="100" name="chinPlayer" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
0
 
Studio2DesignAuthor Commented:
That was it! Thanks for taking the time to go through the code.

Bryan
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now