Welcome to WebmasterWorld Guest from 22.214.171.124 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Flash SWF File Doesnt Work IE 8 and Chrome Flash SWF File Doesnt Work IE 8 and Chrome Ivan
Hi, I have a flash SWF movie file on the website which works like it's supposed to in IE6, IE7, Firefox and Opera, but it doesn't play in IE8 and Google Chrome. A big percentage of the visitors now uses IE8 and half of the "above the fold" screen space is blank because flash refuses to work in those browsers. The embed code is [size=2]<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="620" height="283"> <param name="movie" value="file.swf" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="file.swf" width="620" height="283"> <!--<![endif]--> <p>Title</p> <!--[if !IE]>--> </object> <!--<![endif]--> </object>[/size] I tried a bunch of other codes, but none of them work... Hope you can help.
Look up swfobject2 on Google. Ivan
Dont know what I'm going wrong. Put in the Swfobject files as well as the code, still the same problem. Dont know what to do... IE8 and Chrome still refuse my flash. [ edited by: eelixduppy at 2:41 pm (utc) on Apr 12, 2010] [edit reason] no personal URLs, please [/edit]
Are you **sure** the Flash Plugin is installed for those browsers? Can you see any other sites using Flash? astupidname
Flash does work in those browsers, most likely your flash may be working but you could have a css issue or other problem. Try it out with a different (new) page that only contains the flash movie (and swfobject code properly implemented) and no css (or a bare minimum of it). Bet it works then. That's just the first step in whittling down to what the real problem is. If you find it does work on it's own, then you need to figure out what is causing the problem on the actual page. Ivan
thanks for the advice, will test it without css and get back with details. Ivan
hmmm you're right astupidname, I tested it without CSS, works great. In fact it works on the same page as soon as I remove it from the "main" div. Digging deeper. Ivan
thanks for the help, you were right. took it out from the div, works like charm.