Knowledge.ToString()

Flash File (.swf) is Not Loading in IE, Works Fine in Firefox

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)

Share

Comments

44 responses to “Flash File (.swf) is Not Loading in IE, Works Fine in Firefox”

  1. Debarati Bhattacharya Avatar
    Debarati Bhattacharya

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

  2. Geekyard Avatar
    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. samiullah Avatar
    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…

  4. Serge Avatar
    Serge

    SWFObject 2.2 helped me!

  5. Serge Avatar
    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.

  6. Abraham Avatar
    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!!!!

  7. user Avatar
    user

    Thanks for the help .God Bless U!!!!!!!!!!!!!!!!!!!!!!!

  8. Charlene Avatar
    Charlene

    Thanks for the awesome fix!

  9. pinky Avatar
    pinky

    please anyone can say the solution for it…….

  10. pinky Avatar
    pinky

    how to download these type of flash videos ,i used the internet ddownload manager but i didnt get it ………http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0

    1. Vishal Avatar
      Vishal

      Pinky,

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

  11. Steph Avatar
    Steph

    THANK YOU!!!!!!!!!!!!!!

  12. Yannick Staels Avatar
    Yannick Staels

    Thanks for the solution. Works perfectly!

  13. Sagar Badhe Avatar
    Sagar Badhe

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

  14. gary Avatar
    gary

    This did not work for me…in firefox it takes my file and adds a white background to it where it should be transparent, and in internet explorer it is still just showing up blank with an x where it should be…any suggestions?

  15. Tshifhiwa Avatar
    Tshifhiwa

    Thank You
    I also had the same problem, but now is all gone and it’s all Thaxx to you

    Keep up the supeb work

  16. ravindar Avatar
    ravindar

    I have faced the same problem,,,, i got the solution with this blog

    Thanks DUDE..

  17. ken Avatar
    ken

    u can try this >>>

    Delete IE 6.0, 7.0, 8.0 and anothers and install and use only firefox or chrome… just recommend to your friends and customers and everybody tell the same. I will !

  18. Kumar Avatar
    Kumar

    Thank you so much for putting this together. That code helped me a lot…

  19. George Avatar
    George

    Solved mine too,
    Hats off for the great minds that share solutions.
    Thanks to Google for facilitating to get here to read the solutions
    – George Kottackakathu Thomas

  20. Nishant Avatar
    Nishant

    Thnax a lot for this useful post, i was scratching my head for a long time with this problem…

  21. RISH Avatar
    RISH

    awesome ! thanks a ton ! u saved my day !

  22. Max Avatar
    Max

    Wow…maaad skills!! there i was cursing out IE for my lack of understanding..great stuff

  23. spyros Avatar
    spyros

    I had the same problem,and i solved it like your way!!
    Thank you very much!!

  24. kehil Avatar
    kehil

    Thx a lot Vishal!

    The same error was reported as a malfunction in joomla when dealing with sef urls, but it was only the problem you described.

  25. Mattyval Avatar
    Mattyval

    I followed this tutorial and it now shows up in IE!!!

    -However now the buttons do not work in IE and they work in FF, ext.

    Any idea’s?

  26. Gimli Avatar
    Gimli

    Thanks!

  27. Hazel Avatar
    Hazel

    thanks so much, this is really helpful… took me a few hours to debug and only find out when i read ur post 🙂

  28. Sukhjinder Singh Avatar
    Sukhjinder Singh

    Thanks Vishal,

    You saved my time. I also would like to know from where you have found this solutions or on which text you have searched google.

    This is really embarrassing that all browser use same configuration and IE not. Dont know when this Fight of Browser will be finished and save the developers life.

  29. Asma Avatar
    Asma

    I had the very same issue! Thanks for the solution!

  30. Loraine Riyes Avatar
    Loraine Riyes

    That was right on spot. I had no issues with FF when displaying flash on my site but IE was blank. You saved my day!

  31. Baljeet Avatar
    Baljeet

    Hi Vishal,

    I am embedding some .swf file in my jsp something like what u mentioned.
    I m posting my code which embeds the swf file.

    <param name=”movie” value=”DAG.swf?pageOf=pageOfGetCount&view=AddLimit&isQuery=”/>

    <embed src=”DAG.swf?pageOf=pageOfGetCount&view=AddLimit&isQuery=” quality=”high” bgcolor=”#869ca7″width=”100%” height=”100%” name=”DAG” align=”middle”
    wmode=”transparent”
    play=”true”
    loop=”false”
    quality=”high”
    allowScriptAccess=”sameDomain”
    type=”application/x-shockwave-flash”
    pluginspage=”http://www.adobe.com/go/getflashplayer”>

    The problem i am facing on IE is that, corresponding swf is loaded only if i mouse over or click on portion on jsp where .swf file is embedded .
    This is happening only on IE.

  32. Sheraz Alvi Avatar
    Sheraz Alvi

    Wow that was very useful and thanks a lot. I was working on my site: http://www.sharepointskills.co.uk and had this problem. But now I have another problem Google Street View does now show either.

    Can you help?

  33. vipin Avatar
    vipin

    thanks a lot buddy

  34. AbeesMuhammed Avatar
    AbeesMuhammed

    Thnak you So much Vishal.Now i solved my Issue

  35. cloud10 Avatar
    cloud10

    Thanks for the solution! I was just not giving the exact path for the param tag and only giving it to the embed tag. Your post helped me.. cheers!

  36. ryan Avatar
    ryan

    can i have the slotion write step by step cuz i have no clue how to start could annyone help me
    thank you so much

  37. Someone Avatar
    Someone

    Thank you so much for this. It really saved me a lot of trouble!

  38. hendy Avatar
    hendy

    many thanks for the sharing, now my flash can load on ie

  39. Alex Avatar
    Alex

    Thanks Vishal, my swf files are now also loading in IE.

  40. Adam Chromicz Avatar
    Adam Chromicz

    Awesome, been playing with this for a week!

  41. Mork Avatar
    Mork

    Vishal, I owe you a big one. Thanks for the tip. It really saved my day (in fact, several days finding solution).

  42. Rajasekaran Avatar
    Rajasekaran

    Thank you…. u r stuff helped a lot

  43. Rich Cobey Avatar
    Rich Cobey

    Thanks so much Vishal, I have just been having exactly the same problem! You saved me a trawl round the web looking for the solution and I appreciate it!

Leave a Reply

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