1
我想在html代碼中嵌入wmv視頻。該文件正常播放,但我希望網站的用戶能夠看到全屏按鈕,以進入全屏模式。嵌入wmv視頻不允許全屏按鈕
但是,該按鈕不會出現。我也打開了EnableFullScreenControls標誌。但它沒有區別。代碼如下所示
<object id="MediaPlayer" width="500" height="500" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
standby="Loading Windows Media Player..." TYPE="application/x-oleobject">
<param name="FileName" VALUE="file:///C:/Users/john/Desktop/modus-files/HTML/videos/Danger.wmv">
<param name="ShowControls" VALUE="true">
<PARAM NAME="fullScreen" VALUE="true">
<PARAM name="uiMode" value="full">
<param name="ShowStatusBar" value="false">
<param name="ShowDisplay" VALUE="false">
<param name="autostart" VALUE="false">
<PARAM NAME="EnableFullScreenControls" VALUE="1">
<embed type="application/x-mplayer2" src="file:///C:/Users/john/Desktop/modus-files/HTML/videos/Danger.wmv" name="MediaPlayer"
width="400" height="400" fullScreen="full" ShowControls="1" ShowStatusBar="0" ShowDisplay="1" autostart="0"> </embed>
</object>
感謝