首页 > 代码库 > 在界面中加入视频插件
在界面中加入视频插件
下面是简单的网页中插入flash的代码示例:
Code:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="550" HEIGHT="400" id="myMovieName">
<PARAM NAME=movie VALUE="http://www.mamicode.com/myFlashMovie.swf">
<PARAM NAME=quality VALUE=http://www.mamicode.com/high>
<PARAM NAME=bgcolor VALUE=http://www.mamicode.com/#FFFFFF>
<EMBED src="http://www.mamicode.com//support/flash/ts/documents/myFlashMovie.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
调整高度和宽度,修改src的路径即可