在網(wǎng)頁中(所有網(wǎng)頁都由html組成,所以說下面的代碼,可以用于任何網(wǎng)頁,部分限制了html的網(wǎng)頁除外.
代碼如下:
<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>
更多信息請(qǐng)查看IT技術(shù)專欄