网页嵌套多媒体播放器

最简单的播放代码
<embed src="http://wmt2.aboutmedia.com.tw/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv" mce_src="http://wmt2.aboutmedia.com.tw/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv" autostart="true" loop="true" width="200" height="150">
把这个网址http://wmt2.aboutmedia.com.tw/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv换成你要看的电影就行了


有图像的rm格式:
<OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=288 id=video1 width=305 VIEWASTEXT> <param name=_ExtentX value=5503> <param name=_ExtentY value=1588> <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://media.cdut.edu.cn/ram/new/xiaoxin1.ram> <param name=CONTROLS value=Imagewindow,StatusBar,ControlPanel> <param name=CONSOLE value=RAPLAYER> <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>

无图像的rm格式:如相声,歌曲。。。
<object ID=video2 WIDTH=300 HEIGHT=62 CLASSID=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA> <param name=_ExtentX value=9657> <param name=_ExtentY value=847> <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://210.242.69.206/ramgen/broadcast/BCC/encoder/hipop.rm> <param name=CONTROLS value=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> </object>

最简单的media格式的播放器。。自动识别有无图像,但是版本是你机器的!
<embed src="mms://61.175.132.221/tv/mtv/f4/makeawish.wmv" mce_src="mms://61.175.132.221/tv/mtv/f4/makeawish.wmv" width=200 height=200 autostart=true loop=true></embed>

有图像的media播放器,自动调用网上的插件。
<object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width=280 height=265 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading type=application/x-oleobject> <param name=URL value=http://202.99.11.42/xiangsheng/ymjr.wma> <PARAM NAME=UIMode value=full> <PARAM NAME=AutoStart value=true> <PARAM NAME=Enabled value=true> <PARAM NAME=enableContextMenu value=false> <param name=WindowlessVideo value=true> </object>

无图像的media播放器。。。同上。
<object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width=280 height=60 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject> <param name=URL value=http://202.99.11.42/xiangsheng/ymjr.wma> <PARAM NAME=UIMode value=full> <PARAM NAME=AutoStart value=true> <PARAM NAME=Enabled value=true> <PARAM NAME=enableContextMenu value=false> </object> <br> <br><textarea cols="135" rows="50" name="code" class="xhtml"> 只是界面不同的media的调插件播放器。。建议不用这个,,你可以看! <embed src="http://av.wanwa.com/fileroot/AV/Ramfiles/23809.ram" mce_src="http://av.wanwa.com/fileroot/AV/Ramfiles/23809.ram" type=audio/x-pn-realaudio-plugin console=Clip1 controls=ControlPanel,StatusBar height=60 width=275 autostart=true></embed>

在线播放r m格式视频代码:
<object id="player" name="player" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="400" height="272"> <param name="_ExtentX" value="18415"> <param name="_ExtentY" value="9102"> <param name="AUTOSTART" value="-1"> <param name="SHUFFLE" value="0"> <param name="PREFETCH" value="0"> <param name="NOLABELS" value="-1"> <param name="SRC" value="http://www.xiaoqiong.com/ftp/up/bz.rm"> <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>

<object ID="RP2" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH="400" HEIGHT="57"> <param name="_ExtentX" value="18415"> <param name="_ExtentY" value="1005"> <param name="AUTOSTART" value="-1"> <param name="SHUFFLE" value="0"> <param name="PREFETCH" value="0"> <param name="NOLABELS" value="-1"> <param name="SRC" value="http://www.xiaoqiong.com/ftp/up/bz.rm"> <PARAM NAME="CONTROLS" VALUE="ControlPanel,StatusBar"> <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>

参考资料:http://topic.csdn.net/t/20060712/16/4876184.html

你可能感兴趣的:(windows,object,XHTML,video,url,Class)