开发者

Flash movie displays in IE, but not in Chrome

开发者 https://www.devze.com 2023-01-16 11:20 出处:网络
<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"230\" height=\"130\" align=\
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="230" height="130" align="right">
                  <param name="movie" value="images/10.swf" />
                  <param name="quality" value="high" />
                  <embed src="images/10.swf" width="230" height="130" align="right" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application开发者_JS百科/x-shockwave-flash"></embed>
                </object>

Why code above can't function in Chrome?


First off, consider using one of the js libraries for embedding your flash files - even Adobe does it themselves on their site. The way browsers handle the object tag is not incredibly consistent.
The next thing I would look at is using a self closing embed tag -<embed ... /> instead of <embed ... ></embed>. Also consider looking at your doctype declaration.

0

精彩评论

暂无评论...
验证码 换一张
取 消