SoFunction
Updated on 2025-04-11

Universal web player

Parameters and meaning of web player Windows Media Player Web player Parameters and meaning

(Default 0 is No, -1 or 1 is Yes)<object class  width="286" height="225">
 <param name="AudioStream" value="-1">
 <param name="AutoSize" value="-1">
<!--Whether to automatically adjust the playback size-->
 <param name="AutoStart" value="-1">
<!--Whether it is automatically played-->
 <param name="AnimationAtStart" value="-1">
 <param name="AllowScan" value="-1">
 <param name="AllowChangeDisplaySize" value="-1">
 <param name="AutoRewind" value="0">
 <param name="Balance" value="0">
<!--Balance of left and right channels, leftmost-9640, rightmost 9640-->
 <param name="BaseURL" value>
 <param name="BufferingTime" value="15">
<!--Buffering time-->
 <param name="CaptioningID" value>
 <param name="ClickToPlay" value="-1">
 <param name="CursorType" value="0">
 <param name="CurrentPosition" value="0">
<!--The current playback progress -1 means unchanged, 0 means the beginning unit is seconds, for example, 10 means starting from the 10th second, the value must be -1.0 or greater than or equal to 0-->
 <param name="CurrentMarker" value="0">
 <param name="DefaultFrame" value>
 <param name="DisplayBackColor" value="0">
 <param name="DisplayForeColor" value="16777215">
 <param name="DisplayMode" value="0">
 <param name="DisplaySize" value="0">
<!--Video 1-50%, 0-100%, 2-200%, 3-Full screen Other values ​​are processed as 0, and decimals are rounded and then processed before-->
 <param name="Enabled" value="-1">
 <param name="EnableContextMenu" value="-1">
<!-Whether to use the right click to pop up the menu-->
 <param name="EnablePositionControls" value="-1">
 <param name="EnableFullScreenControls" value="-1">
 <param name="EnableTracker" value="-1">
<!--Is it allowed to pull the playback progress bar to play anywhere-->
 <param name="Filename" value="/blog/" valuetype="ref">
<!--played file address-->
 <param name="InvokeURLs" value="-1">
 <param name="Language" value="-1">
 <param name="Mute" value="0">
<!--Silent or not->
 <param name="PlayCount" value="10">
<!--Repeat times, 0 is always repeated-->
 <param name="PreviewMode" value="-1">
 <param name="Rate" value="1">
<!--Play rate control, 1 is normal, decimals are allowed-->
 <param name="SAMIStyle" value>
<!--SAMI style-->
 <param name="SAMILang" value>
<!--SAMI Language-->
 <param name="SAMIFilename" value>
<!--Subtitle ID-->
 <param name="SelectionStart" value="-1">
 <param name="SelectionEnd" value="-1">
 <param name="SendOpenStateChangeEvents" value="-1">
 <param name="SendWarningEvents" value="-1">
 <param name="SendErrorEvents" value="-1">
 <param name="SendKeyboardEvents" value="0">
 <param name="SendMouseClickEvents" value="0">
 <param name="SendMouseMoveEvents" value="0">
 <param name="SendPlayStateChangeEvents" value="-1">
 <param name="ShowCaptioning" value="0">
<!-- Whether to display subtitles, it is a piece of black, and there will be a large piece of black below, which is generally not displayed-->
 <param name="ShowControls" value="-1">
<!-- Whether to display control, such as play, stop, pause-->
 <param name="ShowAudioControls" value="-1">
<!--Does the volume control be displayed-->
 <param name="ShowDisplay" value="0">
<!--Show program information, such as copyright, etc.-->
 <param name="ShowGotoBar" value="0">
<!--Whether to enable the context menu-->
 <param name="ShowPositionControls" value="-1">
<!-- Whether to display forward, back and list, if displayed, it is generally gray and uncontrollable-->
 <param name="ShowStatusBar" value="-1">
<!--Current playback information, display whether it is being played, as well as the total playback time and the current playback time-->
 <param name="ShowTracker" value="-1">
<!--Does the current playback tracking bar be displayed, that is, the current playback progress bar-->
 <param name="TransparentAtStart" value="-1">
 <param name="VideoBorderWidth" value="0">
<!-- If the width of the display part is smaller than the video width, the minimum is the video width, or it is increased to a specified value and automatically increases the height. This change only changes the size of the surrounding black frames, and does not change the video size-->
 <param name="VideoBorderColor" value="0">
<!--The color of the black box is RGB value, such as ffff00 is yellow-->
 <param name="VideoBorder3D" value="0">
 <param name="Volume" value="0">
<!--Volume size, negative value indicates that it is the impairment of the current volume, the value will automatically take the absolute value, the maximum is 0, and the minimum is -9640-->
 <param name="WindowlessVideo" value="0">
<!--If it is 0, full screen can be allowed, otherwise you can only view it in the window-->
</object>
The player above is the old-fashioned, version 6.4! The new player appears after MediaPlayer9.0, which means that only players installed with 9.0 or above can be used normally.

-------------------------------------------------------------------------------

The following is the new player code, which is much simpler than before: <object  height="64" width="260" class>
 <param NAME="AutoStart" VALUE="-1">
<!--Whether it is automatically played-->
 <param NAME="Balance" VALUE="0">
<!--Adjust the balance between left and right channels, same as the old player code above-->
 <param name="enabled" value="-1">
<!--Is the player artificially controlled-->
 <param NAME="EnableContextMenu" VALUE="-1">
<!--Whether to enable the context menu-->
 <param NAME="url" value="/blog/">
<!--played file address-->
 <param NAME="PlayCount" VALUE="1">
<!--Play times control, integer-->
 <param name="rate" value="1">
<!--Play rate control, 1 is normal, decimals are allowed, 1.0-2.0-->
 <param name="currentPosition" value="0">
<!--Control settings: Current location-->
 <param name="currentMarker" value="0">
<!--Control settings: Current tag-->
 <param name="defaultFrame" value="">
<!--Show default frame-->
 <param name="invokeURLs" value="0">
<!--Script command settings: Whether to call URL-->
 <param name="baseURL" value="">
<!--Script command settings: the called URL-->
 <param name="stretchToFit" value="0">
<!-- Whether to stretch in proportion-->
 <param name="volume" value="50">
<!--Default sound size is 0%-100%, 50%-->
 <param name="mute" value="0">
<!--Silent or not->
 <param name="uiMode" value="mini">
<!--Player display mode: Full displays all; mini is the most simplified; None does not display playback control, only displays the video window; invisible does not display -->
 <param name="windowlessVideo" value="0">
<!--If it is 0, full screen can be allowed, otherwise you can only view it in the window-->
 <param name="fullScreen" value="0">
<!--Is it automatic full screen to start playing?-->
 <param name="enableErrorDialogs" value="-1">
<!--Whether to enable error prompt report-->
 <param name="SAMIStyle" value>
<!--SAMI style-->
 <param name="SAMILang" value>
<!--SAMI Language-->
 <param name="SAMIFilename" value>
<!--Subtitle ID-->
</object>
Real Player Web Player Parameter Meaning

Parameters: autostart attribute: True or False function: specify whether the specified source file is automatically played.
Parameters: backgroundcolor Attribute: Any hexadecimal value starting with the symbol “#” or any predefined color function: Specify the background color of the image window
Parameter: center Attribute: True or False Action: Specify that the fragment is played with the initial encoding size and is in the center of the image window.
Parameters: classid Properties: "clsid: CFCDAA03-8BE4-1lcf-B84B0020AFBBCCFA:** Function: Used to specify the unique string mark of the ActiveX control, and the embedded RealPalyer player can be recognized.
Parameters: console Attribute: Any string function: Various RealPlayer controls can be gathered on a web page so that they can be used interactively or remain independent, and do not affect each other.
Parameters: controls Properties: ImageWindow, All, ControlPanel, PlavButton, PlayOnlyButton, PauseButton, StopButton, FFCtrl, RWCtrl, MuteCtrl, MuteVolume, VolumeSlider, PositionSlider, TACCtrl, HomeCtrl, InfoVolumePanel, InfoPanel, StatusBar, StatusField, PositionField Function: Let you specify which controls are visible.
Parameters: height Attribute: Any integer value function: Specify the height of the RealPlayer element, unit: pixel
Parameters: id Attribute: Any string function: Specify a name for the RealPlayer element in the tag.
Parameters: imagestatus Attribute: True or False Function: Specify whether status information is displayed in the image window, the default value is true
Parameters: loop Attribute: True or False Effect: Can allow you to specify whether a fragment is looping infinitely
Parameters: maintainaspect Properties: True or False Function: Default RealPlayer stretches all fragments to fill the entire image window.
Parameters: name Attribute: Any string function: Specify a name for the RealPlayer element in the tag (use id in the tag)
Parameters: nojava Attribute: True or False Function: Avoid starting Java virtual machine
Parameters: nolabels Attribute: True or False Function: It can prohibit the display of title or copyright information (when realplayer 5.0 or above, it is garbage...)
Parameters: nologo Attribute: True or False Function: Avoid display in the image window when RealPlayer is started.
Parameters: numloop Properties: Any integer value function: allows you to specify the number of times a file slice loop is not required.
Parameters: prefetch attribute: True or False Function: Specify whether RealPlayer can obtain stream description information before playback. The default value is False
Parameters: region Attribute: Any string function: Used with SMIL. Allow you to specify the use of HTML instead of SMIL
Parameters: scriptcallbacks Attribute: List split with commas: Specify the browser’s callback monitoring (What a high-end thing!)
Parameters: shuffle Attribute: True or False Function: Used with multiple file slices of ram files or SMIL files. You can make files in RealPlayer random playlists
Parameters: src attribute: any legal relative or complete URL function: specify the address of the playback file or source file
Parameters: type Attribute: String Function: Specify the MIME type for the embedded plugin
Parameters: width Attribute: Any integer value function: Specify the width of the RealPlayer element

The attribute meaning of controls...

Component: imagewindow
Function: Video display area

Component: All
Function: Embed all buttons, sliders and information panels of RealPlaver

Component: ControlPanel
Function: Display all control buttons, as well as position slider and speaker icons, and slider to adjust the sound size

Component: PlayButton
Function: Display play button and pause button

Component: PlayOnlyButton
Function: Show only the play button

Component: PauseButton
Function: Show only the pause button

Component: StopButton
Function: Only the stop button is displayed

Component: FFCtrl
Function: Only display fastforward button

Component: RWCtrl
Function: Only display the playback button

Component: MuteCtrl
Function: Show only the speaker icon, used as a mute button

Component: MuteVolume
Function: Shows a small speaker icon (for mute) and a slider on it for adjusting the volume

Component: VolumeSlider
Function: Only vertical volume slider is displayed

Component: PositionSlider
Function: Show horizontal position slider

Component: tacctrl
Function: Display a horizontal message box, taking turns to display title, author and copyright information

Component: HomeCtrl
Function: Show small Real logo

Component: infoVolumePanel
Function: Display a black message box, display the title, author and copyright information in green, and have speaker icons and sound adjustment slider on the right hand side

Component: infoPanel
Function: Same as above, but without mute buttons and sound adjustment slider

Component: StatusBar
Function: Display a horizontal message box, display fragment information, such as fragment time, network status, etc.

Component: StatusField
Function: Similar to StatusBar, but only displays the message area and displays network messages, such as "Re-buffenng..."

Component: PositionField
Function: A small black message box that displays the length of the entire file segment and the position of the current frame in the slice

Embed RealOne player<object ID="rPlayer" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT="100%" WIDTH="100%">
<param name="_ExtentX" value="23627">
<param name="_ExtentY" value="15187">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="/?num=24009987&id=10019">
<param name="CONTROLS" value="ImageWindow">
<param name="CONSOLE" value="Clip1">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</object>
Embed MediaPlayer player
<object  width="478" height="300" codebase="/activex/controls/mplayer/en/nsmp2inf.
cab#Version=6,1,5,217" type="application/x-oleobject" standby="Loading Microsoft Windows Media Player components..." class VIEWASTEXT>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="-1">
<param name="Filename" value="mms:///Video File.wmv">
<!-- Set the playable video connection here -->
<param name="ShowControls" value="0">
</object>

Some functions, methods and procedures of RealPlayer

These are all the functions and methods of Real Player ActiveX Control Library (Version 1.0). If you are interested, you can study it.

function GetSource: WideString;
procedure SetSource(const lpszNewValue: WideString);
function GetConsole: WideString;
procedure SetConsole(const lpszNewValue: WideString);
function GetControls: WideString;
procedure SetControls(const lpszNewValue: WideString);
function GetNoLabels: WordBool;
procedure SetNoLabels(bNewValue: WordBool);
function GetAutoStart: WordBool;
procedure SetAutoStart(bNewValue: WordBool);
function GetAutoGotoURL: WordBool;
procedure SetAutoGotoURL(bNewValue: WordBool);
function GetVolume: Smallint;
procedure SetVolume(nVol: Smallint);
function GetMute: WordBool;
procedure SetMute(bMute: WordBool);
function GetLoop: WordBool;
procedure SetLoop(bVal: WordBool);
function GetImageStatus: WordBool;
procedure SetImageStatus(bEnable: WordBool);
function GetPacketsTotal: Integer;
function GetPacketsReceived: Integer;
function GetPacketsOutOfOrder: Integer;
function GetPacketsMissing: Integer;
function GetPacketsEarly: Integer;
function GetPacketsLate: Integer;
function GetBandwidthAverage: Integer;
function GetBandwidthCurrent: Integer;
procedure DoPlayPause;
procedure DoStop;
procedure DoNextItem;
procedure DoPrevItem;
function CanPlayPause: WordBool;
function CanStop: WordBool;
function HasNextItem: WordBool;
function HasPrevItem: WordBool;
function HasNextEntry: WordBool;
function HasPrevEntry: WordBool;
procedure DoNextEntry;
procedure DoPrevEntry;
procedure AboutBox;
procedure EditPreferences;
procedure HideShowStatistics;
function IsStatisticsVisible: WordBool;
procedure DoGotoURL(const url: WideString; const target: WideString);
procedure DoPlay;
procedure DoPause;
function GetPosition: Integer;
function GetPlayState: Integer;
function GetLength: Integer;
function GetTitle: WideString;
function GetAuthor: WideString;
function GetCopyright: WideString;
function GetClipWidth: Integer;
function GetClipHeight: Integer;
function CanPlay: WordBool;
function CanPause: WordBool;
procedure SetPosition(lPosition: Integer);
function GetNumLoop: Integer;
procedure SetNumLoop(lVal: Integer);
function GetCenter: WordBool;
procedure SetCenter(bVal: WordBool);
function GetNoLogo: WordBool;
procedure SetNoLogo(bVal: WordBool);
function GetMaintainAspect: WordBool;
procedure SetMaintainAspect(bVal: WordBool);
function GetBackgroundColor: WideString;
procedure SetBackgroundColor(const pVal: WideString);
function GetStereoState: WordBool;
function GetLiveState: WordBool;
function GetShowStatistics: WordBool;
procedure SetShowStatistics(bVal: WordBool);
function GetShowPreferences: WordBool;
procedure SetShowPreferences(bVal: WordBool);
function GetShowAbout: WordBool;
procedure SetShowAbout(bVal: WordBool);
function GetOriginalSize: WordBool;
procedure SetOriginalSize;
function GetDoubleSize: WordBool;
procedure SetDoubleSize;
function GetFullScreen: WordBool;
procedure SetFullScreen;
function GetEnableContextMenu: WordBool;
procedure SetEnableContextMenu(bVal: WordBool);
function GetEnableOriginalSize: WordBool;
procedure SetEnableOriginalSize(bVal: WordBool);
function GetEnableDoubleSize: WordBool;
procedure SetEnableDoubleSize(bVal: WordBool);
function GetEnableFullScreen: WordBool;
procedure SetEnableFullScreen(bVal: WordBool);
function GetEnableMessageBox: WordBool;
procedure SetEnableMessageBox(bVal: WordBool);
procedure SetTitle(const pVal: WideString);
procedure SetAuthor(const pVal: WideString);
procedure SetCopyright(const pVal: WideString);
function GetWantKeyboardEvents: WordBool;
procedure SetWantKeyboardEvents(bWantsEvents: WordBool);
function GetWantMouseEvents: WordBool;
procedure SetWantMouseEvents(bWantsEvents: WordBool);
function GetNumEntries: Smallint;
function GetCurrentEntry: Smallint;
function GetEntryTitle(uEntryIndex: Smallint): WideString;
function GetEntryAuthor(uEntryIndex: Smallint): WideString;
function GetEntryCopyright(uEntryIndex: Smallint): WideString;
function GetEntryAbstract(uEntryIndex: Smallint): WideString;
procedure SetCanSeek(bCanSeek: WordBool);
function GetCanSeek: WordBool;
function GetBufferingTimeElapsed: Integer;
function GetBufferingTimeRemaining: Integer;
function GetConnectionBandwidth: Integer;
function GetPreferedLanguageString: WideString;
function GetPreferedLanguageID: Integer;
function GetUserCountryID: Integer;
function GetNumSources: Smallint;
function GetSourceTransport(nSourceNum: Smallint): WideString;
function GetWantErrors: WordBool;
procedure SetWantErrors(bVal: WordBool);
function GetShuffle: WordBool;
procedure SetShuffle(bVal: WordBool);
function GetVersionInfo: WideString;
function GetLastMessage: WideString;
function GetLastErrorSeverity: Integer;
function GetLastErrorRMACode: Integer;
function GetLastErrorUserCode: Integer;
function GetLastErrorUserString: WideString;
function GetLastErrorMoreInfoURL: WideString;
procedure SetPreFetch(bVal: WordBool);
function GetPreFetch: WordBool;
procedure SetRegion(const pVal: WideString);
function GetRegion: WideString;
function GetIsPlus: WordBool;
function GetConsoleEvents: WordBool;
procedure SetConsoleEvents(bVal: WordBool);
function GetDRMInfo(const pVal: WideString): WideString;
property ControlInterface: IRealAudio read GetControlInterface;
property DefaultInterface: IRealAudio read GetControlInterface;
full screen:

1. Media player full screen method

 <script language="JavaScript">
 <!--

 var Real;
 Real='MediaPlayer1.';
 var Mute=false;
 var CanSetPos=true;
 var SetPosStart=false;
 var SetVolStart=false;
 var loop, timer, initialised;
 var speed=50;
 var oldwidth=566,oldheight=502;

 function DoFull()
 {
 eval(Real+'DisplaySize=3');
 }

NetShowServer = "" ;

var mPath = NetShowServer + "";

function LoadVideo(c1,c2) {
 if (c1=="") return;
 video_filename = c1;

 ()
 timer=("video_play()",2000)
}
function video_play(fn) {
 var mName = mPath + video_filename;
 (mName)
}
 //-->
 </script>
 <td width="39%" height="1" bgcolor="#E0E0E0">
<input type="button" onMouseDown="DoFull()" value="Full screen display" style="border-style: ridge; border-width: 1">
<span lang="en-us">ESC</span>Return</td>
 </tr>
 </table>
 </td>
 </tr>
 <tr>
 <td width="100%">
 <p align="center">

 <object id=MediaPlayer1 classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 width=468 height=358>
 <param name="filename" value=/film/>
 <param name="AutoStart" value="-1">
 <param name="Enabled" value="-1">
 <param name="ShowControls" value="-1">
 <param name="ShowGotoBar" value="0">
 <param name="ShowStatusBar" value="-1">
 <param name="EnableFullScreenControls" value="0">
 <param name="EnablePositionControls" value="0">
 <param name="Volume" value="0">
 <param name="DisplaySize" value="4">
 <param name="SendErrorEvents" value="0">
 <param name="enableContextMenu" value="0">
 <param name="EnableTracker" value="-1">
 <param name="AudioStream" value="-1">
 <param name="AutoSize" value="0">
 <param name="AnimationAtStart" value="-1">
 <param name="AllowScan" value="-1">
 <param name="AllowChangeDisplaySize" value="-1">
 <param name="AutoRewind" value="0">
 <param name="Balance" value="0">
 <param name="BaseURL" value>
 <param name="BufferingTime" value="5">
 <param name="CaptioningID" value>
 <param name="ClickToPlay" value="-1">
 <param name="CursorType" value="0">
 <param name="CurrentPosition" value="-1">
 <param name="CurrentMarker" value="0">
 <param name="DefaultFrame" value>
 <param name="DisplayBackColor" value="0">
 <param name="DisplayForeColor" value="16777215">
 <param name="DisplayMode" value="0">
 <param name="InvokeURLs" value="-1">
 <param name="Language" value="-1">
 <param name="Mute" value="0">
 <param name="PlayCount" value="1">
 <param name="PreviewMode" value="0">
 <param name="Rate" value="1">
 <param name="SAMILang" value>
 <param name="SAMIStyle" value>
 <param name="SAMIFileName" value>
 <param name="SelectionStart" value="-1">
 <param name="SelectionEnd" value="-1">
 <param name="SendOpenStateChangeEvents" value="-1">
 <param name="SendWarningEvents" value="-1">
 <param name="SendKeyboardEvents" value="0">
 <param name="SendMouseClickEvents" value="0">
 <param name="SendMouseMoveEvents" value="0">
 <param name="SendPlayStateChangeEvents" value="-1">
 <param name="ShowCaptioning" value="0">
 <param name="ShowAudioControls" value="-1">
 <param name="ShowDisplay" value="0">
 <param name="ShowPositionControls" value="-1">
 <param name="ShowTracker" value="-1">
 <param name="TransparentAtStart" value="0">
 <param name="VideoBorderWidth" value="0">
 <param name="VideoBorderColor" value="0">
 <param name="VideoBorder3D" value="0">
 <param name="WindowlessVideo" value="0">
 </object>

 </td>
 </tr>
</table>There is another type I looked for online, but it is useless, but the poster seems to say that the function is easy to use, haha.
<object class  width="580" height="435">
<param name="AudioStream" value="-1">
<param name="AutoSize" value="0">
<param name="AutoStart" value="-1">
<param name="AnimationAtStart" value="-1">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">
<param name="Balance" value="0">
<param name="BaseURL" value>
<param name="BufferingTime" value="5">
<param name="CaptioningID" value>
<param name="ClickToPlay" value="-1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="2">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="0">
<param name="EnableTracker" value="-1">
<param name="Filename" value="/videos/Andy Lau-Flawed Beauty.mpg">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value>
<param name="SAMIStyle" value>
<param name="SAMIFileName" value>
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="0">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="-1">
<param name="ShowStatusBar" value="-1">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="0">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="-40">
<param name="WindowlessVideo" value="0">
</object>
This function is relatively complete, supports the original shortcut keys and right-click menus

2. Real player full screen method 1

realplayer playback 4 (with video)
<SCRIPT language=javascript>
Real='.'
function DoPlay()
{eval(Real+'DoPlay()');}
function DoStop()
{eval(Real+'DoStop()');}
function DoPlayPause()
{eval(Real+'DoPlayPause()');}
function SetFullScreen()
{
eval(Real+'SetFullScreen()');
fullscreen=true;
DoPlayPause();
DoPlay();
}
function GetFullScreen()
{
if(eval(Real+'GetFullScreen()'))
return true;
else
return false;
}
</SCRIPT>

<OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA class=OBJECT id=RAOCX width=376 height=248>
<PARAM NAME=SRC VALUE="../upload/<%=rsp("path")%>">
<PARAM NAME=CONSOLE VALUE=Clip1>
<PARAM NAME=CONTROLS VALUE=imagewindow>
<PARAM NAME=AUTOSTART VALUE=true></OBJECT><br/>
<OBJECT classid=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA height=24 id=video2 width=376>
<PARAM NAME=SRC VALUE="../upload/<%=rsp("path")%>">
<PARAM NAME=AUTOSTART VALUE=-1>
<PARAM NAME=CONTROLS VALUE=controlpanel>
<PARAM NAME=CONSOLE VALUE=Clip1></OBJECT>

<a href="#" title="Welcome the full screen, press the ESC key to restore." style="CURSOR: hand" onclick=SetFullScreen()>□Fullscreen playback□</a>

3. Real player full screen method 2

<html>
<head>
<title>Online Play</title>
<SCRIPT>
<!--
function bookmarkit(){('/','Magic Sky')}
//-->
</SCRIPT>
</head>
<body marginwidth="0" leftmargin="0" topmargin="0" bgcolor="#000000" scroll="no" oncontextmenu="=false" ondragstart="=false" onselectstart="=false">
<script language="JAVASCRIPT">
<!-- Begin
var ap_name = ;
var ap_vinfo = ;
var ap_ver = parseFloat(ap_vinfo.substring(0,ap_vinfo.indexOf('(')));

var time_start = new Date();
var clock_start = time_start.getTime();
var dl_ok=false;

function init ()
{
if(ap_name=="Netscape" && ap_ver>=3.0)
dl_ok=true;
return true;
}

function get_time_spent ()
{
var time_now = new Date();
return((time_now.getTime() - clock_start)/1000);
}

function show_secs () 
{
var i_total_secs = (get_time_spent());
var i_secs_spent = i_total_secs % 60;
var i_mins_spent = ((i_total_secs-30)/60);
var s_secs_spent = "" + ((i_secs_spent>9) ? i_secs_spent : "0" + i_secs_spent);
var s_mins_spent = "" + ((i_mins_spent>9) ? i_mins_spent : "0" + i_mins_spent);
document.fm0.time_spent.value = s_mins_spent + ":" + s_secs_spent;
('show_secs()',1000);
}
init();
('show_secs()',1);
// End -->
 </script>
<center>
<p></p>
</center>
<div align="center">
 <center>
 <table border="0" cellspacing="0" width="337" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
 <tr>
 <td width="100%">
 <table border="0" cellspacing="0" style="border-collapse: collapse" width="108%"  bgcolor="#F0F0F0" cellpadding="0">
 <tr>
 <td width="55%" height="1" bgcolor="#E0E0E0">
<p align="left">&nbsp;<font size="2">Thank you for your visit! ! ! ! ! </font></td>
 <form name="fm0" onSubmit="0">
 <td width="7%" height="1" bgcolor="#E0E0E0">
 <input type="text" name="time_spent" size="5" onFocus="()" style="border-style: groove; border-width: 1; background-color: #EEEEEE"></td>
 </form>
 <script language="JavaScript">
 <!--

 var Real;
 Real='document.RP1.';
 var Mute=false;
 var CanSetPos=true;
 var SetPosStart=false;
 var SetVolStart=false;
 var loop, timer, initialised;
 var speed=50;
 var oldwidth=566,oldheight=502;

 function DoFull()
{//Full screen playback
eval(Real+'SetFullScreen()');
}

 

NetShowServer = "" ;

var mPath = NetShowServer + "";

function LoadVideo(c1,c2) {
 if (c1=="") return;
 video_filename = c1;

 ()
 timer=("video_play()",2000)
}
function video_play(fn) {
 var mName = mPath + video_filename;
 (mName)
}
 //-->
 </script>
 <td width="38%" height="1" bgcolor="#E0E0E0">
<input type="button" onMouseDown="DoFull()" value="Full screen display" style="border-style: ridge; border-width: 1">
<span lang="en-us"><font size="2">ESC</font></span><font size="2">Return</font></td>
 </tr>
 </table>
 </td>
 </tr>
 <tr>
 <td width="100%"> <p align="center"> 
 <object  class width=468 height=358>
 <param name="_ExtentX" value="4445"> 
<param name="_ExtentY" value="3334"> 
<param name="AUTOSTART" value="-1"> 
<param name="SHUFFLE" value="0"> 
<param name="PREFETCH" value="0"> 
<param name="NOLABELS" value="-1"> 
<param name="SRC" value="rtsp://61.177.95.61:554/ent/2005/promise_1104.rm"> 
<param name="CONTROLS" value="Imagewindow,StatusBar,ControlPanel"> 
<param name="CONSOLE" value="clip1"> 
<param name="LOOP" value="0"> 
<param name="NUMLOOP" value="0"> 
<param name="CENTER" value="0"> 
<param name="MAINTAINASPECT" value="0"> 
<param name="BACKGROUNDCOLOR" value="#000000"><embed src="rtsp://61.177.95.61:554/ent/2005/promise_1104.rm" type="audio/x-pn-realaudio-plugin"> 
</object>
 </td>
 </tr>
 </table>
 </center>
</div>
</body>
</html>4. Real player full screen method three

If it is realone, you need to have full screen, just add the following JS code to HEAD <script>
function setFull()
{
if(!())
{
alert("The video cannot be switched to full screen mode without starting playback")
}
else
{
alert("Click the OK button and enter the full screen play mode, press the Esc key in the full screen play mode to exit the full screen mode")
()
}
}
//-->
</script>Enter the body
<a href="#" onclick="setFull();">Full screen</a>