CSDN博客

img ningxd

网页播放器

发表于2004/10/27 2:12:00  1799人阅读

<embed 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' 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 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'>
<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>

只是界面不同的media的调插件播放器。。建议不用这个,,你可以看!
<embed 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>
  连续播放歌曲
 
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" width="286" height="225">
 <param name="AudioStream" value="-1">
 <param name="AutoSize" value="-1">
 <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="0">
 <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>
 <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="0">
 <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="-600">
 <param name="WindowlessVideo" value="0">
</object>

阅读全文
0 0

相关文章推荐

img
取 消
img