Windows Media Player及RealOne网页播放器参数含义

Windows Media Player及RealOne网页播放器参数含义
                                     

[embed style="FILTER: invert()" src="链接地址" loop="-1" width=300 height=140 balance="true" showpositioncontrols="true" showtracker="true" showaudiocontrols="true" showcontrols="true" showstatusbar="true" showdisplay="true" displaysize="0" volume="100" autosize="true" autostart="true" animationatstart="true" transparentatstart="true"][/EMBED]



[embed style="FILTER: xray()" src="链接地址" loop="-1" width=300 height=140 balance="true" showpositioncontrols="true" showtracker="true" showaudiocontrols="true" showcontrols="true" showstatusbar="true" showdisplay="true" displaysize="0" volume="100" autosize="true" autostart="true" animationatstart="true" transparentatstart="true"][/EMBED]

(有图像的 media 播放器)

[param name="volume" value="100"]是调整默认音量的选项,100是最大音量!


[object id="mPlayer1" width=300 height=300 classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"]
[param name="URL" value="链接地址"]
[param name="rate" value="1"]
[param name="balance" value="0"]
[param name="currentPosition" value="0"]
[param name="defaultFrame" value]
[param name="playCount" value="100"]
[param name="autoStart" value="1"]
[param name="currentMarker" value="0"]
[param name="invokeURLs" value="1"]
[param name="baseURL" value]
[param name="volume" value="100"]
[param name="mute" value="0"]
[param name="uiMode" value="full"]
[param name="stretchToFit" value="0"]
[param name="windowlessVideo" value="0"]
[param name="enabled" value="1"]
[param name="enableContextMenu" value="1"]
[param name="fullScreen" value="0"]
[param name="SAMIStyle" value]
[param name="SAMILang" value]
[param name="SAMIFilename" value]
[param name="captioningID" value]
[param name="enableErrorDialogs" value="0"]
[param name="_cx" value="7779"]
[param name="_cy" value="1693"]
[/object]


以下三种加特效面板修改播放面板尺寸时,须将两组播放尺寸数值修改为一致才能正确显示。

如下例:width: 300px; HEIGHT: 30px"  width="300" height="300" 

光晕特效。

-----------------

opacity(不透明度)、finishopacity(平滑度)、style(风格类型)

style(风格类型):

“1”(强光偏左)、“2”(强光居中)、

“3”(方形发散强光)“4”(透明)

[embed style="filter:Alpha(opacity=10,finishOpacity=100,style=2); WIDTH: 300px; HEIGHT: 300px" src="链接地址" width="300" height="300" type="audio/mpeg" volume="100" loop="true" autostart="true" showstatusbar="1"][/EMBED]

波浪扭曲:

lightstrength(亮度)、strength(波幅)、freq(波频)

-----------------------------------------------------------------------

[embed style="FILTER: wave(add=0,lightstrength=10,strength=8,freq=20,phrase=30); WIDTH: 300px; HEIGHT: 300px" src="链接地址" width="300" height="300" volume="0" loop="true" autostart="true" showstatusbar="1"][/EMBED]

边缘雾化

-----------

[table style="FILTER: Alpha(Opacity=100, FinishOpacity=0, Style=2, StartX=20, StartY=40, FinishX=0, FinishY=0)gray(); WIDTH: 300px; HEIGHT: 45px"]
[TBODY]
[TR]
[TD]
[EMBED style="BORDER-RIGHT: silver 1px solid; BORDER-TOP: silver 1px solid; BORDER-LEFT: silver 1px solid; BORDER-BOTTOM: silver 1px solid" src="链接地址" width=300 height=45 type=audio/x-mplayer2 console="video" showstatusbar="0" EnableContextMenu="0" volume="0" autostart="1" loop="-1"]
[/EMBED]
[/TD]
[/TR]
[/TBODY]
[/TABLE]

RealPlayer网页播放面板

(rm.rmvb.ram)

音频播放器(无信息显示)

[OBJECT id=video2 height=30 width=300 classid=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA]
[PARAM NAME="_ExtentX" VALUE="13229"]
[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="链接地址"]
[PARAM NAME="CONTROLS" VALUE="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]

音频播放器(显示播放数据)

[object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="300" height="50" id="RP2"]
[param name="_ExtentX" value="10001"]
[param name="_ExtentY" value="1270"]
[param name="AUTOSTART" value="-1"]
[param name="SHUFFLE" value="0"]
[param name="PREFETCH" value="0"]
[param name="NOLABELS" value="-1"]
[param name="SRC" value="链接地址"]
[param name="CONTROLS" value="ControlPanel,StatusBar"]
[param name="CONSOLE" value="clip1"]
[param name="LOOP" value="true"]
[param name="NUMLOOP" value="0"]
[param name="CENTER" value="0"]
[param name="MAINTAINASPECT" value="0"]
[param name="BACKGROUNDCOLOR" value="#000000"]
[/object]

调整高度可变化面板

显示播放数据

[embed src="链接地址" width="300" height="60" autostart="true" loop="true"][/EMBED]

显示播放数据及文件信息

[embed src="链接地址" width="300" height="90" autostart="true" loop="true"][/EMBED]

视频播放器

面板分为上下两部分,所以上下分别需要输入链接、调整高宽度。
上部为显示屏,宽高一般为:300x240、400x320、500x400。
下部播放面板的宽度和上部一致即可,高度不必调整。

-----------------------------------------

[object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" name="player" width="300" height="240 d="player"]
[param name="_ExtentX" value="10001"]
[param name="_ExtentY" value="6879"]
[param name="AUTOSTART" value="-1"]
[param name="SHUFFLE" value="0"]
[param name="PREFETCH" value="0"]
[param name="NOLABELS" value="-1"]
[param name="SRC" value="链接地址"]
[param name="CONTROLS" value="Imagewindow"]
[param name="CONSOLE" value="clip1"]
[param name="LOOP&qut; value="true"]
[param name="NUMLOOP" value="0"]
[param name="CENTER" value="0"]
[param name="MAINTAINASPECT" value="0"]
[param name="BACKGROUNDCOLOR" value="#000000"]
[/object]
[object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="300" height="50" id="RP2"]
[param name="_ExtentX" value="10001"]
[param name="_ExtentY" value="1270"]
[param name="AUTOSTART" value="-1"]
[param name="SHUFFLE" value="0"]
[param name="PREFETCH" value="0"]
[param name="NOLABELS" value="-1"]
[param name="SRC" value="链接地址"]
[param name="CONTROLS" value="ControlPanel,StatusBar"]
[param name="CONSOLE" value="clip1"]
[param name="LOOP" value="true"]
[param name="NUMLOOP" value="0"]
[param name="CENTER" value="0"]
[param name="MAINTAINASPECT" value="0"]
[param name="BACKGROUNDCOLOR" value="#000000"]
[/object]

posted @ 2010-10-15 21:09  邓维  阅读(733)  评论(0编辑  收藏  举报