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

By | July 17, 2007 | 44 Comments

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)


About Vishal Monpara

Vishal Monpara is a full stack Solution Developer/Architect with 13 years of experience primarily using Microsoft stack. He is currently working in Retail industry and moving 1's and 0's from geographically dispersed hard disks to geographically dispersed user leveraging geographically dispersed team members.

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

  1. Serge

    It is not working for me.
    When I open page in IE7, IE8 over XP-proxy (Internet connection sharing) there is no Flash.
    But without (XP Internet connection sharing) it is OK in IE7.


  2. Abraham

    Hi,

    I was having the same problem with one of my clients: http://www.gxsecurityservices.co.za; when viewing with FF it was displaying the falsh content; but when I was viewing the site with IE, it was giving the error “Movie Not……”.
    The above coe sorted it out!! THANK YOU THANK YOU THANK YOU!!!!




  3. Vishal Post author

    Pinky,

    You may download flash videos by using DownloadHelper add-on in Firefox.


  4. pinky

    please anyone can say the solution for it…….





  5. Sagar Badhe

    we can also use
    <PARAM NAME=movie VALUE="/video/banner.swf”>
    instead of


Leave a Reply

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