以下代码是RealPlayer的各个控件的内嵌代码,当然前提是你的PC机已经装好了RealPlayer.
修改 控件代码中的src参数指向你自己的 rm文件即可!!!
/*****视频播放窗口******/
〈embed
name="realplayer"
type="audio/x-pn-realaudio-plugin"
pluginspage="http://www.real.com/player/"
src="vid/clip008.rpm"
width="160"
height="120"
controls="ImageWindow"
console="rubicon"
autostart="true"
nojava="true"〉
〈/embed〉
/*******播放按钮*********************/
〈 embed
type="audio/x-pn-realaudio-plugin"
pluginspage="http://www.real.com/player/"
src="vid/clip008.rpm"
width="44"
height="26"
controls="PlayButton"
console="rubicon"
nojava="true"〉
〈/embed〉
/************停止按钮********************/
〈 embed
type="audio/x-pn-realaudio-plugin"
pluginspage="http://www.real.com/player/"
src="vid/clip008.rpm"
width="26"
height="26"
controls="StopButton"
console="rubicon"
nojava="true"〉
〈/embed〉
/********播放进度游标***************************/
〈 embed
type="audio/x-pn-realaudio-plugin"
pluginspage="http://www.real.com/player/"
src="vid/clip008.rpm"
width="64"
height="26"
controls="PositionSlider"
console="rubicon"
nojava="true"〉
〈/embed〉
/************声音控制********************/
〈 embed
type="audio/x-pn-realaudio-plugin"
pluginspage="http://www.real.com/player/"
src="vid/clip008.rpm"
width="26"
height="26"
controls="MuteCtrl"
console="rubicon"
nojava="true"〉
〈/embed〉
/**********比较完整的控件(可以保证在Netscape中也可以)**********************/
〈OBJECT
ID=video1
CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
HEIGHT=40 WIDTH=275〉
〈PARAM NAME="controls" value="ControlPanel"〉
〈PARAM NAME="console" value="Clip1"〉
〈PARAM NAME="autostart" value="false"〉
〈PARAM NAME="src" value="爱情.rpm"〉
〈EMBED SRC="爱情.rpm" type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ControlPanel"
HEIGHT=40 WIDTH=275 AUTOSTART=false〉
〈/OBJECT〉