Solved

Flash not appearing in Internet Explorer - Zen Cart application

Posted on 2006-10-27
2
493 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
Comment Utility
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
Comment Utility
That was it! Thanks for taking the time to go through the code.

Bryan
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
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…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

763 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

14 Experts available now in Live!

Get 1:1 Help Now