< Object ID = "Mediaplayer" Height = "300" Width = "400"
Classid = "CLSID: 6bf52a52-394a-11d3-b153-00c04f79faa6" Viewastext >
<! -- // The stream playback address ex: The Song address. -->
< Param Name = "Url" Value = "D: \ XXX \ bin \ debug \ Ad \ avseq01.dat" />
<! -- // Specify the stream playback speed. The playback speed indicates reverse playback. -->
<! -- // When the value is not 1, ASF and WMV audio will sound during playback. -->
<! -- // The value ranges from-10 to 10. -->
< Param Name = "Rate" Value = "1" />
<! -- // The integer effect between-100 and 100: Specify the balance between the left and right Enis. -->
< Param Name = "Balance" Value = "0" />
<! -- // The playing position of the player, in seconds -->
< Param Name = "Currentposition" Value = "0" />
<! -- // Specify the number of streaming playback times -->
< Param Name = "Playcount" Value = "99999999" />
<! -- // Whether to play the video automatically -->
< Param Name = "Autostart" Value = "-1" />
< Param Name = "Autorewind" Value = "-1" />
< Param Name = "Currentmarker" Value = "0" />
<! -- // Specify whether the URL router interface is enabled by the dynamic streamcompute. -->
< Param Name = "Invokeurls" Value = "-1" />
<! -- // Any number ranging from 0 to 100. Specify the volume. -->
< Param Name = "Volume" Value = "50" />
<! -- // Specifies whether or not the audio is voiced. -->
< Param Name = "Mute" Value = "0" />
<! -- // None, Mini, or full, specifies how the Windows Media Player controls the display -->
< Param Name = "Uimode" Value = "NONE" />
< Param Name = "Stretchtofit" Value = "0" />
< Param Name = "Windowlessvideo" Value = "0" />
<! -- // Specify whether the player is valid -->
< Param Name = "Enabled" Value = "-1" />
<! -- // Specify whether to make the right-side menu valid -->
< Param Name = "Enablecontextmenu" Value = "1" />
<! -- // Specify whether to enable full-screen playback of the streaming content. -->
< Param Name = "Fullscreen" Value = "0" />
< Param Name = "Showcontrols" Value = "0" />
<ParamName= "Sendkeyboardevents"Value= "-1" />
< Param Name = "Sendmouseclickevents" Value = "-1" />
< Param Name = "Sendmousemoveevents" Value = "-1" />
</ Object >
AboveCodeOn the HTML page,
The last three rows correspond to whether 0 is false if you want to obtain it in Javascript, but you do not understand why-1 is true,
Then add
< Script = " Mediaplayer " Event = " Mousedown (iButton, ishiftstate, FX, FY) "
Language = " JScript " >
// Document. mediaplayer. fullscreen =-1;
// Click here to trigger the event
< / SCRIPT>
< Script = " Mediaplayer " Event = " Mousemove (iButton, ishiftstate, FX, FY) "
Language = " JScript " >
// Wmpclosefull ();
< / SCRIPT>
< Script = " Mediaplayer " Event = " Keydown (ikeycode, ishiftstate) " Language = " JScript " >
// Wmpclosefull ();
< / SCRIPT>
Document. mediaplayer. fullscreen =-1;
Mediaplayer is the Object ID name.
In this way, you can find no answer on the network for a long time,