开发者

Flash movie loads in IE but not Chrome

So I embedded a basic flash movie as per:

http://kb2.adobe.com/cps/415/tn_4150.html

It loads fine in IE, but the flash player in Chrome cannot load the movie. Flash works fine on other sites in Chrome, so what's wrong with this HTML?

<OBJECT classid="clsid:D27CDB6E-AE6D-1开发者_如何学Go1cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="162"
HEIGHT="391"
id="MobileAnimation">
<PARAM NAME=movie VALUE="img/animatedphone.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED href="img/animatedphone.swf"
quality=high
bgcolor=#FFFFFF
WIDTH="162"
HEIGHT="391"
NAME="MobileAnimation"
ALIGN=""
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED></OBJECT>


The line that reads:

<EMBED href="img/animatedphone.swf"

Should be:

<EMBED src="img/animatedphone.swf"

Note the change from href to src.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜