Swf Flash Movie Shows Up In My Fat Block

The swf movie sits on top of everything, including the material that appears in the fat block. I have no idea why this is happening.

This issue is only for IE7 (for now), but will probably be at least in IE6 (I don't have IE6 to test). BElow is the code I am using for the inline flash movie:

<div id="flash">You need the Flash Player to view this video.
<script type="text/javascript"><!--
/*<! */
var so = new SWFObject("mixed.swf", "flash", 529, 323, "9");
so.write("flash");
/*-->*/
</script> 

      

I am using thickbox as I have other bits of jQuery on the site. Site url http://clients.bionic-comms.co.uk/fox/foxintouch-wp/issue/13/brand-highlights/

If someone can give me an answer, I would be very grateful. thanks in advance

0


a source to share


2 answers


Check out this solution. Find out if it works for you.



+1


a source


You are not closing your div ... you are missing the / div tag.

<div id="flash">You need the Flash Player to view this video.**</div>**
<script type="text/javascript">
var so = new SWFObject("mixed.swf", "flash", 529, 323, "9");
so.write("flash");
</script>

      



In addition, SWFObject code should not be placed inside the target div; this caused problems for some people.

I see that you are using SWFObject 1.5; I suggest moving to SWFObject 2.2 as it contains an important fix for memory leaks and Flash videos. http://code.google.com/p/swfobject/

0


a source







All Articles