code is as follows:  


<Object id="player1" type="application/x - the oleobject" height="360" width="300" every "bf52a52 clsids: 6-394 - a - 11 d3 - B153-00 c04f79faa6" >
<Param NAME="AutoStart" VALUE="http://www.jb51.net//web/-1" ><! - automatic playback - >
<Param NAME="url" value="http://www.jb51.net//web/D:/FireAlarm.mp3" ><! - play the files address - >
<Param NAME="PlayCount" VALUE="http://www.jb51.net//web/1" >
</object>
<Img SRC="http://www.jb51.net//web/1.jpg" Alt="play" style="cursor: hand" >
<Img SRC="http://www.jb51.net//web/1.jpg" Alt="suspended" style="cursor: hand" >
<Img SRC="http://www.jb51.net//web/1.jpg" Alt="stop" style="cursor: hand" >
<Img SRC="http://www.jb51.net//web/1.jpg" Alt="full screen"
style="cursor: hand" >
<Img SRC="http://www.jb51.net//web/1.jpg" Alt="mute"
style="cursor: hand" >

the attached one:

control player controls media player control
code is as follows:


<Object every="bf52a52 clsids: 6-394 - a - 11 d3 - B153-00 c04f79faa6"
player. The URL=URL; .
Settings file source player controls. The play (); Play
player. Controls. The stop (); Stop
player. Controls. Pause (); Suspend
player. Controls. CurrentPosition returns the current time of the broadcast file location (in seconds).
player controls. CurrentPositionString time format string "0:32"
player. CurrentMedia. Duration () function returns the length of the playback file total (in seconds)
player. CurrentMedia. DurationString time format string "is from"
player. Settings. The volume of the volume (0-100).
player Settings. The balance channel and stereo, left sound channel, by it should be able to right channel control. But the corresponding value is unknown. .
player Settings..mute=s mute (s value to true and false)
player. The closedCaption. CaptioningID page appear in the subtitle of the container to the ID of the
player. The closedCaption. SAMIFileName subtitle file address
player. The playState return player status (, 2:3: there is suspended for 1: has stopped)
player. The fullscreen=1 full-screen playback, press ESC to return to after a full screen)

======================================================
REAL player control
code is as follows:


<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
player.DoPlay() 播放
player.DoPause() 暂停
player.DoStop() 停止
player.GetLength() 返回播放文件的总长度(以毫秒为单位)
player.GetPosition() 返回播放文件的当前时间位置(以毫秒为单位)
player.GetPlayState() 返回播放器状态(0:停止,1:连接,2:缓冲,3:播放,4:暂停,5:寻找)
player.SetPosition(n) 时间位置跳到n的地方(n取值以毫秒为单位)
player.SetVolume(n) 设置音量(n取值为0到100)
player.SetMute(s) 静音(s取值为true和false)
player.SetFullScreen() 全屏(全屏后按ESC返回)
player.setSource() 设置文件来源

附二:
param name标签 部分(播放器代码)

代码如下:


<Param name="autostart" value="http://www.jb51.net//web/0" ><! - control playback mode: x=1, open the web page automatically broadcast; X=0, press play button play. - >
<Param name="clicktoplay" value="http://www.jb51.net//web/1" ><! - control playback switch: x=1, the mouse click control play or pause state; X=0, disable this feature. - >
<Param name="displaysize" value="http://www.jb51.net//web/0" ><! - control playback: x=0, original size; X=1 and half size; X=2, 2 times. - >
<Param name="enablefullscreen controls" value="http://www.jb51.net//web/1" ><! - control switch full screen: x=1, allows the switch to full screen; X=0, disable this feature. - >
<Param name="showaudio controls" value="http://www.jb51.net//web/1" ><! - control volume: x=1, allows to adjust the volume; X=0, volume is prohibited. - >
<Param name="enablecontext menu" value="http://www.jb51.net//web/1" ><! - control shortcut menu: x=1, allows you to use the right-click menu; X=0, disable right click menu. - >
<Param name="showdisplay" value="http://www.jb51.net//web/1" ><! - control the copyright information: x=1, show movies and author information; X=0, do not display - related information >
<Param NAME="AutoStart" VALUE="http://www.jb51.net//web/-1" ><! - automatic playback - >
<Param NAME="Balance" VALUE="http://www.jb51.net//web/0" ><! - adjust the balance of the vocal tract, with old player code above - >
<Param name="enabled" value="http://www.jb51.net//web/-1" ><! - whether the player can be artificially controlled - >
<Param NAME="EnableContextMenu" VALUE="http://www.jb51.net//web/-1" ><! - whether to enable the context menu - >
<Param NAME="url" VALUE="http://1.wma" ><! - play the files address - ><Param NAME="PlayCount" VALUE="http://www.jb51.net//web/1" ><! - broadcast frequency control, as an integer, >
<Param name="rate" value="http://www.jb51.net//web/1" ><! - play speed control, 1 as normal, allowing the decimal, 1.0-2.0 - >
<Param name="currentPosition" value="http://www.jb51.net//web/0" ><! - control Settings: the current position - >
<Param name="currentMarker" value="http://www.jb51.net//web/0" ><! - control Settings: the current tag - >
<Param name="defaultFrame" value="" ><! - shows the default frame >
<Param name="invokeURLs" value="http://www.jb51.net//web/0" ><! - the script command to set: whether to call the URL - >
<Param name="baseURL" value="" ><! - the script command to set: the called URL - >
<Param name="stretchToFit" value="http://www.jb51.net//web/0" ><! - is in proportion to stretch - >
<Param name="volume" value="http://www.jb51.net//web/50" ><! - the default sound size 0% 100%, 50%, 50 - >
<Param name=".mute "value=" http://www.jb51.net//web/0 "><! - if quiet -
<Param name="uiMode" value="http://www.jb51.net//web/mini" ><! All - player display mode: Full display; The mini the most simplified; None does not display the playback controls, show only the video window; Cause all don't show - ><Param name="windowlessVideo" value="http://www.jb51.net//web/0" ><! - if it is 0 allows full-screen, otherwise can only see in window - >
<Param name="fullScreen" value="http://www.jb51.net//web/0" ><! - start playing automatically full-screen or not - >
<Param name="enableErrorDialogs" value="http://www.jb51.net//web/-1" ><! - whether to enable error report >
<Param name="SAMIStyle value>"; <! - SAMI style - >
<Param name="SAMIFilename value>"; <! - the subtitles ID - >

insert rm format video
code is as follows:


<The object id="player" name="player" every "that CFCDAA03 11 cf - B84B - 0020 - by - some" width="339" height="227" >
<Param name="_ExtentX" value="http://www.jb51.net//web/9869" >
<Param name="_ExtentY" value="http://www.jb51.net//web/7726" >
<Param name="AUTOSTART" value="http://www.jb51.net//web/-1" >
<Param name="SHUFFLE" value="http://www.jb51.net//web/0" >
<Param name="PREFETCH" value="http://www.jb51.net//web/0" >
<Param name="NOLABELS" value="http://www.jb51.net//web/-1" >
<Param name="SRC" value="http://entdown.163.com/ent/garbage/mv/1028/xuemv.rm" >
<Param name="CONTROLS" value="http://www.jb51.net//web/Imagewindow" >
<Param name="CONSOLE" value="http://www.jb51.net//web/clip1" >
<Param name="LOOP" value="http://www.jb51.net//web/0" >
<Param name="NUMLOOP" value="http://www.jb51.net//web/0" >
<Param name="CENTER" value="http://www.jb51.net//web/0" >
<Param name="MAINTAINASPECT" value="http://www.jb51.net//web/0" >
<Param name="BACKGROUNDCOLOR" value="http://www.jb51.net//web/#000000" >
</object>

1. The avi format

  code is as follows:  


<Object every clsids: 22 d6f312 - c74c7e95 d0 B0F6-11-94 - ab - 94
codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab
# Version=5,1,52,701 height=180 id=NSPlay type=application/x - oleobject width=240
VIEWASTEXT standby="load Microsoft Windows Media Player components …" >
<Param name="FileName" value="" >
<Param name="AutoStart" value="http://www.jb51.net//web/true" >
<Param name="AutoRewind" value="http://www.jb51.net//web/-1" >
<Param name="AnimationAtStart" value="http://www.jb51.net//web/false" >
<Param name="ShowControls" value="http://www.jb51.net//web/false" >
<Param name="ClickToPlay" value="http://www.jb51.net//web/false" >
<Param name="EnableContextMenu" value="http://www.jb51.net//web/true" >
<Param name="EnablePositionControls" value="http://www.jb51.net//web/false" >
<Param name="Balance" value="http://www.jb51.net//web/0" >
<Param name="ShowStatusBar" value="http://www.jb51.net//web/false" >
<Param name="AutoSize" value="http://www.jb51.net//web/0" >
<Embed type="application/x - mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
filename SRC
enablecontextmenu="false"
clicktoplay="false"
enablepositioncontrols="false"
showcontrols="0" showstatusbar="1", "
showdisplay=" 0 "width=" 240 "height=" 180 ">
</embed>
</object>

or

  code is as follows:  


<Video object id="" width=" 400 "height=" 200 "border=" 0 "
every" that CFCDAA03 11 cf - B84B - 0020 - by - some ">
<Param name="ShowDisplay" value="http://www.jb51.net//web/0" >
<Param name="ShowControls" value="http://www.jb51.net//web/1" >
<Param name="AutoStart" value="http://www.jb51.net//web/1" >
<Param name="AutoRewind" value="http://www.jb51.net//web/0" >
<Param name="PlayCount" value="http://www.jb51.net//web/0" >
<Appearance param name="value=" value="" http://www.jb51.net//web/0" >
<param name="BorderStyle value=" value="http://www.jb51.net//web/0" ">
<Param name="MovieWindowHeight" value="http://www.jb51.net//web/240" >
<Param name="MovieWindowWidth" value="http://www.jb51.net//web/320" >
<Param name="FileName" value="file:///D |/work/vod/Mbar. Avi" >
<Embed width="400" height="200" border="0" showdisplay="0" showcontrols="1", "
playcount=" 0 "moviewindowheight=" 240 "moviewindowwidth=" 320 "
filename=" file:///D |/work/vod/Mbar. Avi "SRC=" http://www.jb51.net//web/Mbar.avi ">
</embed>
</object>

2. MPG format

  code is as follows:  


<Object every "clsids: fa1 - ce C356-11-05589 BF01-00 aa0055595a" id="ActiveMovie1
" width="239" height="250" >
<Param name="Appearance" value="http://www.jb51.net//web/0" >
<Param name="AutoStart" value="http://www.jb51.net//web/-1" >
<Param name="AllowChangeDisplayMode" value="http://www.jb51.net//web/-1" >
<Param name="AllowHideDisplay" value="http://www.jb51.net//web/0" >
<Param name="AllowHideControls" value="http://www.jb51.net//web/-1" >
<Param name="AutoRewind" value="http://www.jb51.net//web/-1" >
<Param name="Balance" value="http://www.jb51.net//web/0" >
<Param name="CurrentPosition" value="http://www.jb51.net//web/0" >
<Param name="DisplayBackColor" value="http://www.jb51.net//web/0" >
<Param name="DisplayForeColor" value="http://www.jb51.net//web/16777215" >
<Param name="an" value="http://www.jb51.net//web/0" >
<Param name="Enabled" value="http://www.jb51.net//web/-1" >
<Param name="EnableContextMenu" value="http://www.jb51.net//web/-1" >
<Param name="EnablePositionControls" value="http://www.jb51.net//web/-1" >
<Param name="EnableSelectionControls" value="http://www.jb51.net//web/0" >
<Param name="EnableTracker" value="http://www.jb51.net//web/-1" >
<Param name="Filename" value="http://www.cnblogs.com/../mpeg/halali.mpg" valuetype="ref" >
<Param name="FullScreenMode" value="http://www.jb51.net//web/0" >
<Param name="MovieWindowSize" value="http://www.jb51.net//web/0" >
<Param name="PlayCount" value="http://www.jb51.net//web/1" >
<Param name="Rate" value="http://www.jb51.net//web/1" >
<Param name="SelectionStart" value="http://www.jb51.net//web/-1" >
<Param name="SelectionEnd" value="http://www.jb51.net//web/-1" >
<Param name="ShowControls" value="http://www.jb51.net//web/-1" >
<Param name="ShowDisplay" value="http://www.jb51.net//web/-1" >
<Param name="ShowPositionControls" value="http://www.jb51.net//web/0" >
<Param name="ShowTracker" value="http://www.jb51.net//web/-1" >
<Param name="Volume" value="http://www.jb51.net//web/-480" >
</object>

3. Smi format

  code is as follows:  


<The OBJECT id=RVOCX every clsids: CFCDAA03 cf - B84B - 0020 - by - 11 some width=240
height=180 >
<Param name="_ExtentX" value="http://www.jb51.net//web/6350" >
<Param name="_ExtentY" value="http://www.jb51.net//web/4763" >
<Param name="AUTOSTART" value="http://www.jb51.net//web/-1" >
<Param name="SHUFFLE" value="http://www.jb51.net//web/0" >
<Param name="PREFETCH" value="http://www.jb51.net//web/0" >
<Param name="NOLABELS" value="http://www.jb51.net//web/-1" >
<Param name="SRC" value="http://www.jb51.net//web/rm.rm" >
<Param name="CONTROLS" value="http://www.jb51.net//web/ImageWindow" >
<Param name="CONSOLE" value="http://www.jb51.net//web/console1" >
<Param name="LOOP" value="http://www.jb51.net//web/0" >
<Param name="NUMLOOP" value="http://www.jb51.net//web/0" >
<Param name="CENTER" value="http://www.jb51.net//web/0" >
<Param name="MAINTAINASPECT" value="http://www.jb51.net//web/0" >
<Param name="BACKGROUNDCOLOR" value="http://www.jb51.net//web/#000000" ><Embed SRC="http://www.jb51.net//web/real.smi"
type="audio/x - pn - realaudio - plugin" console="Console1 controls"="ImageWindow
" height="180" width="240" ></object>

5. WMV format

  code is as follows:  


<NSPlay object id="" width=200 height=180
every" clsids: 22 d6f312 - b0f6 c74c7e95 d0-11-94 - ab - 94 ", "
the codebase=" http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab # 6,4,5,715 Version="

standby=" Loading Microsoft Windows Media Player components…"
type="application/x - the oleobject" align="right" img tags like hspace="5" >
<! ASX File Name - >
<Param name="AutoRewind value=http://www.jb51.net//web/1>"
<Param name="FileName" value="http://www.jb51.net//web/xxxxxx.wmv" >
<! - Display Controls - >
<Param name="ShowControls" value="http://www.jb51.net//web/1" >
<! - the Display Position Controls - >This parameter is used to determine whether to display playback progress bar control
<Param name="ShowPositionControls" value="http://www.jb51.net//web/0" >
<! - Display Audio Controls - >This parameter is used to define whether to display the volume control button
<Param name="ShowAudioControls" value="http://www.jb51.net//web/1" >
<! - Display the Tracker Controls - >This parameter is used to define whether can control channel
<Param name="ShowTracker" value="http://www.jb51.net//web/0" >
<! - Show the Display - >
<Param name="ShowDisplay" value="http://www.jb51.net//web/0" >
<! - Display the Status Bar - >If this parameter is used to define according to the status bar of the
<Param name="ShowStatusBar" value="http://www.jb51.net//web/0" >
<! - Diplay the Go To the Bar - >
<Param name="ShowGotoBar" value="http://www.jb51.net//web/0" >
<! - Display Controls - >This parameter is used to define whether the display control panel
<Param name="ShowCaptioning" value="http://www.jb51.net//web/0" >
<! - the Player Autostart - >If this parameter is used to define automatically play
<Param name="AutoStart" value=http://www.jb51.net//web/1>
<! - the Animation at the Start - >
<Param name="Volume" value="http://www.jb51.net//web/-2500" >
<Param name="AnimationAtStart" value="http://www.jb51.net//web/0" >
<! - Transparent at the Start - >This parameter is used to define the transparency of video files
<Param name="TransparentAtStart" value="http://www.jb51.net//web/0" >
<! - Do not allow a change in the display size - >
<Param name="AllowChangeDisplaySize" value="http://www.jb51.net//web/0" >
<! - Do not allow scanning - >This parameter is used to define whether to allow to drag the progress bar
<Param name="AllowScan" value="http://www.jb51.net//web/0" >
<! - Do not show contect menu value="http://www.jb51.net//web/0" >
<! - Do not allow playback toggling0 >"
</object>


This concludes the body part