Solved

Flash not appearing in Internet Explorer - Zen Cart application

Posted on 2006-10-27
2
498 Views
Last Modified: 2013-11-19
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
Comment
Question by:Studio2Design
2 Comments
 
LVL 2

Accepted Solution

by:
kindaAbstruse earned 500 total points
ID: 17822544
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
 

Author Comment

by:Studio2Design
ID: 17822658
That was it! Thanks for taking the time to go through the code.

Bryan
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

831 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