Flash File (.swf) is not loading in IE, works fine in FF

By | July 17, 2007

I have some video tutorial uploaded on my website. I tried it on FF and it worked perfectly but when I tried on IE, I did not get anything. I checked on google and after spending much time, I found the problem. I am explaining with example.

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="banner"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
 border="0" width="754" height="64">
<param name="movie" value="banner.swf">
<param name="quality" value="High">
<embed src="http://www.domain.com/video/banner.swf"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" name="banner"
width="754" height="64" quality="High">
</object>

Now IE uses param movie tag to download swf file and FF uses embed src tag to download swf. Now you realized why IE is not displaying flash object. Correct code would be

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="banner"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
border="0" width="754" height="64">
<param name="movie" value="http://www.domain.com/video/banner.swf">
<param name="quality" value="High">
<embed src="http://www.domain.com/video/banner.swf"
pluginspage="http://www.macromedia.com/go/getflashplayer"type="application/x-shockwave-flash"
name="banner" width="754" height="64" quality="High"></object>

Note: Due to some legal issues, IE had a “Click to Activate” restriction on swf and flash files. It requires the user to click on the control to load swf file. Above mentioned issue is different than this one. To learn more about the resolution visit http://www.adobe.com/devnet/activecontent/articles/devletter.html. It contains latest change and how to work around the IE restriction issue. (Thanks to Baljeet for bringing this issue up)

44 thoughts on “Flash File (.swf) is not loading in IE, works fine in FF

  1. samiullah

    Hi, actually i am having the same issue with one of my flash games website…the games are working fine in chrome, ff, opera etc but not on ie all the versions..can anyone tell me whats wrong with the code.. see the code below…

  2. Geekyard

    I face some issues with SWF. It’s not opening when hosted on web. It loads fine in local drive, any fix available?

  3. Debarati Bhattacharya

    Thanks a lot!! It makes my day…:)

Leave a Reply

Your email address will not be published. Required fields are marked *