Solved

Flash not appearing in Internet Explorer - Zen Cart application

Posted on 2006-10-27
2
499 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
document.getElementById not worj with 2 IDs with the same name 10 51
QQ problem 22 43
How to make a good PHP + MySQL + JS pagination system? 3 34
Designing forms 3 19
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

828 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