在網頁中(所有網頁都由html組成,所以說下面的代碼,可以用于任何網頁,部分限制了html的網頁除外.
代碼如下:
<object id=video width=400 height=200 border=0 classid=clsid:cfcdaa03-8be4-11cf-b84b-0020afbbccfa>
<param name=showdisplay value=0>
<param name=showcontrols value=1>
<param name=autostart value=1>
<param name=autorewind value=0>
<param name=playcount value=0>
<param name=appearance value=0 value=>
<param name=borderstyle value=0 value=>
<param name=moviewindowheight value=240>
<param name=moviewindowwidth value=320>
<param name=filename value=視頻地址.avi>
<embed width=400 height=200 border=0 showdisplay=0 showcontrols=1 autostart=1 autorewind=0 playcount=0 moviewindowheight=240 moviewindowwidth=320 filename=視頻地址.avi src=視頻地址.avi>
</embed>
</object>
更多信息請查看IT技術專欄