1. ホーム
  2. Web プログラミング
  3. ウェブプレーヤー

WMVウェブプレーヤーのパラメータを中国語で解説

2022-01-02 21:20:31
コピーコード コードは以下の通りです。

<object id="mePlay" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,5,0803"
standby="Loading Windows Media Player components... " type="application/x-oleobject"
width=640 height=550 style="border:1px solid #66666666;">
<param NAME="AutoStart" VALUE="-1">
<! -->Whether to auto-play -->
<param NAME="Balance" VALUE="0">
<! --adjusts the left/right channel balance, same as the old player code above -->
<param name="enabled" value="-1">
<! -- Whether the player is human controllable -->
<param NAME="EnableContextMenu" VALUE="-1">
<! -->Whether to enable the context menu -->
<param NAME="url" VALUE="https://www.jb51.net/LLZ.wmv">
<! -- Address of the file to be played -->
<param NAME="PlayCount" VALUE="1">
<! --PlayCount control, as an integer -->
<param name="rate" value="1">
<! --Playback rate control, 1 is normal, decimal allowed, 1.0-2.0 -->
<param name="currentPosition" value="0">
<! -- control set:currentPosition-->
<param name="currentMarker" value="0">
<! --control-set:currentMarker-->
<param name="defaultFrame" value="">
<! -- Show default frame-->
<param name="invokeURLs" value="0">
<! --script command set:whether to invoke URLs -->
<param name="baseURL" value="">
<! --script-command-set:called-URL -->
<param name="stretchToFit" value="0">
<! -- Whether to stretch proportionally -->
<param name="volume" value="50">
<! -- Default sound size 0%-100%, 50 is 50% -->
<param name="mute" value="0">
<! -- Whether to mute -->
<param name="uiMode" value="mini">
<! -- Player display mode: Full shows all; mini is the most simplified; None doesn't show playback controls, only the video window; invisible doesn't show all -- >
<param name="windowlessVideo" value="0">
<! --if 0 allows full screen, otherwise only view in window-->
<param name="fullScreen" value="0">
<! --Start playback whether to auto-full screen -->
<param name="enableErrorDialogs" value="-1">
<! -- Whether to enable error alert reporting -->
<param name="SAMIStyle" value>
<! --SAMI style-->
<param name="SAMILang" value>
<! --SAMI language --->
<param name="SAMIFilename" value>
<! --caption ID-->
</object>