
Embedded flash does not appear in Firefox
I've embedded flash into a website, but only a white box appears. The embedded flash document appears in IE and Chrome.
Here's my embed code:
<div> <object style="width:420px;height:272px" > <param name="movie" value="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf?mode=mini&backgroundColor=%23222222&documentId=121102153057-a8027186d32d406698ae9cd6ce0305ed" /> <param name="allowfullscreen" value="true"/> <param name="menu" value="false"/> <param name="wmode" value="transparent"/> <embed src="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf" type="application/x-shockwave-flash" allowfullscreen="true" menu="false" wmode="transparent" style="width:420px;height:272px" flashvars="mode=mini&backgroundColor=%23222222&documentId=121102153057-a8027186d32d406698ae9cd6ce0305ed" /> </object> <div style="width:420px;text-align:left;"> <a href="http://issuu.com/uuastewdev/docs/2012report?mode=window&backgroundColor=%23222222" target="_blank">Open publication</a> - Free <a href="http://issuu.com" target="_blank">publishing</a> - <a href="http://issuu.com/search?q=report" target="_blank">More report</a> </div> </div>
Modified
All Replies (2)
If Firefox recognizes that it cannot instantiate an <object> then it will use the <embed>. But it sounds as though it is trying to use the <object>.
Perhaps you would have better luck if you add these attributes to your <object> tag:
type="application/x-shockwave-flash" data="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf?mode=mini&backgroundColor=%23222222&documentId=121102153057-a8027186d32d406698ae9cd6ce0305ed"
Firefox uses the object if there isn't a classid to specify an ActiveX control for IE.
You didn't specify such a classid (classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"), so there is actually no need for the embed in this case.
As jscher2000 posted above, an object tag only works in Firefox if there is a data attribute present (copy of the movie param) to specify the Flash file and a possible MIME type.
<object style="width:420px;height:272px" data="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf" type="application/x-shockwave-flash" > <param name="movie" value="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf" /> <param name="flashvars" value="mode=mini&backgroundColor=%23222222&documentId=121102153057-a8027186d32d406698ae9cd6ce0305ed" /> <param name="allowfullscreen" value="true"/> <param name="menu" value="false"/> <param name="wmode" value="transparent"/> </object>
Modified