Solved

Flash not appearing in Internet Explorer - Zen Cart application

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
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…

867 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

16 Experts available now in Live!

Get 1:1 Help Now