[html] Note of embed swf (flv) in html

the correct codes of embed flash in html is as below:

 代码

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" id="player" name="player" width="700" height="400">
  
<param name="movie" value="path_to_flash.swf" />
  
<param name="quality" value="high" />
  
<embed src="path_to_flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="700" height="400"></embed>
</object>

 

 

if you miss some attributes of object, such as name, id, classid, then in IE, you may get this error after refreshing the page. (The first time to load the page does NOT warning these error!

Missing Objects
XXX line: XX 
code:0
URI: http://XXXXX 

 

 

Some one say that, if there is a classid, then in IE7, the flash can not display, but i didn't meet that error~~~


posted @ 2010-12-14 16:04  DavidHHuan  阅读(403)  评论(0编辑  收藏  举报