Vishal Monpara's Blog
Knowledge.ToString()

Blog  | Poem  | Article

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


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>


Posted On: 07/17/2007 09:04


Feedback

7 comments has been posted.

Rich Cobey @  07/27/2007 05:36

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!

Rajasekaran @  10/25/2007 02:36

Thank you.... u r stuff helped a lot

Mork @  12/12/2007 10:42

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

Adam Chromicz @  01/10/2008 03:41

Awesome, been playing with this for a week!

Alex @  02/14/2008 07:04

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

hendy  @  03/19/2008 10:49

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

Someone @  06/01/2008 07:31

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

Post your comments
Name
Url
Comment

Submit


 

Rate Entry5.00
( 1 Votes)

 
1 2 3 4 5
Vote
1-Poor 5-Excellent