加入如下代码到body区域
<object id="rpl" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width=300 height=200>
<!--classid指定ActiveX控件的唯一的字符串标示-->
<param name="_ExtentX" value="11906">
<param name="_ExtentY" value="8996">
<param name="AUTOSTART" value="-1">
<!--是否自动播放-->
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="
http://www.toto369.net/bfdm/bh.mp3">
<param name="CONTROLS" value="ImageWindow">
<param name="CONSOLE" value="Clip1">
<param name="imagestatus" value="1">
<param name="LOOP" value="-1">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<!--指定片断使用初始编码大小播放,并且在图像窗口的中央-->
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#ff0000">
<!--指定图像窗口背景色-->
</object>
<br>
<b>界面控制:</b><br>
CONTROLS模式切换:<br>
<input type="button" value="all" οnclick="rpl.CONTROLS='all'">
<input type="button" value="ControlPanel" οnclick="rpl.CONTROLS='ControlPanel'">
<input type="button" value="PlavButton" οnclick="rpl.CONTROLS='PlavButton'">
<br>
<input type="button" value="PlayOnlyButton" οnclick="rpl.CONTROLS='PlayOnlyButton'">
<input type="button" value="PauseButton" οnclick="rpl.CONTROLS='PauseButton'">
<input type="button" value="StopButton" οnclick="rpl.CONTROLS='StopButton'">
<br>
<input type="button" value="FFCtrl" οnclick="rpl.CONTROLS='FFCtrl'">
<input type="button" value="RWCtrl" οnclick="rpl.CONTROLS='RWCtrl'">
<input type="button" value="MuteCtrl" οnclick="rpl.CONTROLS='MuteCtrl'">
<input type="button" value="MuteVolume" οnclick="rpl.CONTROLS='MuteVolume'">
<input type="button" value="VolumeSlider" οnclick="rpl.CONTROLS='VolumeSlider'">
<br>
<input type="button" value="PositionSlider" οnclick="rpl.CONTROLS='PositionSlider'">
<input type="button" value="TACCtrl" οnclick="rpl.CONTROLS='TACCtrl'">
<input type="button" value="HomeCtrl" οnclick="rpl.CONTROLS='HomeCtrl'">
<input type="button" value="InfoVolumePanel" οnclick="rpl.CONTROLS='InfoVolumePanel'">
<br>
<input type="button" value="InfoPanel" οnclick="rpl.CONTROLS='InfoPanel'">
<input type="button" value="StatusBar" οnclick="rpl.CONTROLS='StatusBar'">
<input type="button" value="StatusField" οnclick="rpl.CONTROLS='StatusField'">
<input type="button" value="PositionField" οnclick="rpl.CONTROLS='PositionField'">
<br>
<input type="button" value="当前模式" οnclick="alert(rpl.CONTROLS)">
<input type="button" value="当前模式" οnclick="alert(rpl.GetControls())">
<br><b>播放控制:</b><br>
<br>曲目控制:<br>
<input type="button" value="你是风儿我是沙" οnclick="rpl.SetSource('
http://www.toto369.net/bfdm/sha.mp3')">
<input type="button" value="白狐" οnclick="rpl.SetSource('
http://www.toto369.net/bfdm/bh.mp3')">
<input type="button" value="当前曲目" οnclick="alert(rpl.GetSource())">
<br>播放控制:<br>
<input type="button" value="播放" οnclick="rpl.DoPlay()">
<input type="button" value="暂停" οnclick="rpl.DoPause()">
<input type="button" value="播放/暂停" οnclick="rpl.DoPlayPause()">
<input type="button" value="停止" οnclick="rpl.DoStop()">
<input type="button" value="当前播放状态" οnclick="alert(rpl.GetPlayState())">
<br>静音控制:<br>
<input type="button" value="静音" οnclick="rpl.SetMute(1)">
<input type="button" value="取消静音" οnclick="rpl.SetMute(0)">
<input type="button" value="静音状态" οnclick="alert(rpl.GetMute())">
<br>进度控制:<br>
<input type="button" value="回到开始" οnclick="rpl.SetPosition(0)">
<input type="button" value="快进20秒" οnclick="if(rpl.GetPosition()>20000){rpl.SetPosition(rpl.GetPosition()-20000)}else(rpl.SetPosition(0))">
<input type="button" value="快进20秒" οnclick="rpl.SetPosition(rpl.GetPosition()+20000)">
<input type="button" value="回到最后" οnclick="rpl.SetPosition(rpl.GetLength()-3000)">
<input type="button" value="当前进度" οnclick="alert(rpl.GetPosition()/1000)">
<input type="button" value="总长度" οnclick="alert(rpl.GetLength()/1000)">
<br>音量控制:<br>
<input type="button" value="最小" οnclick="rpl.SetVolume(0)">
<input type="button" value="音量-" οnclick="if(rpl.GetVolume()>9){rpl.SetVolume(rpl.GetVolume()-10)}">
<input type="button" value="音量+" οnclick="rpl.SetVolume(rpl.GetVolume()+10)">
<input type="button" value="最大" οnclick="rpl.SetVolume(100)">
<input type="button" value="当前音量" οnclick="alert(rpl.GetVolume())">
<br>信息检测:<br>
<input type="button" value="GetIsPlus" οnclick="alert(rpl.GetIsPlus())">
<input type="button" value="GetVersionInfo" οnclick="alert(rpl.GetVersionInfo())">
<input type="button" value="GetLastMessage" οnclick="alert(rpl.GetLastMessage())"><br>
<input type="button" value="GetConsoleEvents" οnclick="alert(rpl.GetConsoleEvents())">
<input type="button" value="回放统计" οnclick="rpl.HideShowStatistics()">
<br>剪辑信息:<br>
<input type="button" value="获取剪辑信息" οnclick="alert(rpl.GetTitle())">
<input type="button" value="设置剪辑信息" οnclick="rpl.SetTitle('这是美女翻唱滴~')">
<input type="button" value="获取剪辑信息" οnclick="alert(rpl.GetEntryTitle(0))">