通用网页播放器
通用网页播放器
发布时间:2016-12-29 来源:查字典编辑
摘要:网页播放器的参数含义WindowsMediaPlayer网页播放器参数含义(默认0为否,-1或1为是)上面的这个播放器是老式的那种,6.4版...

网页播放器的参数含义WindowsMediaPlayer网页播放器参数含义

(默认0为否,-1或1为是)<objectclassid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"id="MediaPlayer1"width="286"height="225">

<paramname="AudioStream"value="-1">

<paramname="AutoSize"value="-1">

<>

<paramname="AutoStart"value="-1">

<>

<paramname="AnimationAtStart"value="-1">

<paramname="AllowScan"value="-1">

<paramname="AllowChangeDisplaySize"value="-1">

<paramname="AutoRewind"value="0">

<paramname="Balance"value="0">

<>

<paramname="BaseURL"value>

<paramname="BufferingTime"value="15">

<>

<paramname="CaptioningID"value>

<paramname="ClickToPlay"value="-1">

<paramname="CursorType"value="0">

<paramname="CurrentPosition"value="0">

<>

<paramname="CurrentMarker"value="0">

<paramname="DefaultFrame"value>

<paramname="DisplayBackColor"value="0">

<paramname="DisplayForeColor"value="16777215">

<paramname="DisplayMode"value="0">

<paramname="DisplaySize"value="0">

<>

<paramname="Enabled"value="-1">

<paramname="EnableContextMenu"value="-1">

<!-是否用右键弹出菜单控制-->

<paramname="EnablePositionControls"value="-1">

<paramname="EnableFullScreenControls"value="-1">

<paramname="EnableTracker"value="-1">

<>

<paramname="Filename"value="/blog/01.wma"valuetype="ref">

<>

<paramname="InvokeURLs"value="-1">

<paramname="Language"value="-1">

<paramname="Mute"value="0">

<>

<paramname="PlayCount"value="10">

<>

<paramname="PreviewMode"value="-1">

<paramname="Rate"value="1">

<>

<paramname="SAMIStyle"value>

<>

<paramname="SAMILang"value>

<>

<paramname="SAMIFilename"value>

<>

<paramname="SelectionStart"value="-1">

<paramname="SelectionEnd"value="-1">

<paramname="SendOpenStateChangeEvents"value="-1">

<paramname="SendWarningEvents"value="-1">

<paramname="SendErrorEvents"value="-1">

<paramname="SendKeyboardEvents"value="0">

<paramname="SendMouseClickEvents"value="0">

<paramname="SendMouseMoveEvents"value="0">

<paramname="SendPlayStateChangeEvents"value="-1">

<paramname="ShowCaptioning"value="0">

<>

<paramname="ShowControls"value="-1">

<>

<paramname="ShowAudioControls"value="-1">

<>

<paramname="ShowDisplay"value="0">

<>

<paramname="ShowGotoBar"value="0">

<>

<paramname="ShowPositionControls"value="-1">

<>

<paramname="ShowStatusBar"value="-1">

<>

<paramname="ShowTracker"value="-1">

<>

<paramname="TransparentAtStart"value="-1">

<paramname="VideoBorderWidth"value="0">

<>

<paramname="VideoBorderColor"value="0">

<>

<paramname="VideoBorder3D"value="0">

<paramname="Volume"value="0">

<>

<paramname="WindowlessVideo"value="0">

<>

</object>

上面的这个播放器是老式的那种,6.4版本!新式播放器是在MediaPlayer9.0以后出现的,也就是说只有装了9.0或9.0以上的播放器才能正常使用的。

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

下面是新式播放器代码,相对以前的来说要简单很多:<objectid="player"height="64"width="260"classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">

<paramNAME="AutoStart"VALUE="-1">

<>

<paramNAME="Balance"VALUE="0">

<>

<paramname="enabled"value="-1">

<>

<paramNAME="EnableContextMenu"VALUE="-1">

<>

<paramNAME="url"value="/blog/1.wma">

<>

<paramNAME="PlayCount"VALUE="1">

<>

<paramname="rate"value="1">

<>

<paramname="currentPosition"value="0">

<>

<paramname="currentMarker"value="0">

<>

<paramname="defaultFrame"value="">

<>

<paramname="invokeURLs"value="0">

<>

<paramname="baseURL"value="">

<>

<paramname="stretchToFit"value="0">

<>

<paramname="volume"value="50">

<>

<paramname="mute"value="0">

<>

<paramname="uiMode"value="mini">

<>

<paramname="windowlessVideo"value="0">

<>

<paramname="fullScreen"value="0">

<>

<paramname="enableErrorDialogs"value="-1">

<>

<paramname="SAMIStyle"value>

<>

<paramname="SAMILang"value>

<>

<paramname="SAMIFilename"value>

<>

</object>

RealPlayer网页播放器参数含义

参数:autostart属性:True或是False作用:指定是否自动播放指定的源文件

参数:backgroundcolor属性:任何用符号“#”开头的16进制数值或是任何预定义的颜色作用:指定图像窗口的背景颜色

参数:center属性:True或是False作用:指定片断使用初始编码大小播放,并且在图像窗口的中央。

参数:classid属性:"clsid:CFCDAA03-8BE4-1lcf-B84B0020AFBBCCFA:**作用:用于指定ActiveX控件的唯一的字符串标示,可以认出嵌入的RealPalyer播放器。

参数:console属性:任何字符串作用:可以将各种不同的RealPlayer控制聚集在网页上,这样它们可以交互使用或是保持独立,而且互相不影响

参数:controls属性:ImageWindow,All,ControlPanel,PlavButton,PlayOnlyButton,PauseButton,StopButton,FFCtrl,RWCtrl,MuteCtrl,MuteVolume,VolumeSlider,PositionSlider,TACCtrl,HomeCtrl,InfoVolumePanel,InfoPanel,StatusBar,StatusField,PositionField作用:可以让你指定那些控制是可见的。

参数:height属性:任何整数值作用:指定RealPlayer元素的高度,单位:像素

参数:id属性:任何字符串作用:为标签中的RealPlayer元素指定名字。

参数:imagestatus属性:True或是False作用:指定是否在图像窗口中显示状态信息,默认值是true

参数:loop属性:True或是False作用:可以让你指定片断是否无限循环

参数:maintainaspect属性:True或是False作用:默认RealPlayer拉伸所有的片断来充满整个图像窗口。

参数:name属性:任何字符串作用:为标签中的RealPlayer元素指定名字(在标签中使用id)

参数:nojava属性:True或是False作用:避免启动Java虚拟机

参数:nolabels属性:True或是False作用:可以禁止显示标题或是版权信息(realplayer5.0以上时,它是垃圾...)

参数:nologo属性:True或是False作用:避免RealPlayer启动时在图像窗口中显示

参数:numloop属性:任何整数值作用:让你能够指定文件片循环的次数,不需要参数loop

参数:prefetch属性:True或是False作用:指定在播放前,RealPlayer是否可以获得流描述信息,默认值是False

参数:region属性:任何字符串作用:同SMIL一起使用。允许你指定使用HTML代替SMIL

参数:scriptcallbacks属性:用逗号分割的列表作用:指定浏览器的回调监控(好高级的东东!)

参数:shuffle属性:True或是False作用:同多文件片的ram文件或是SMIL文件一起使用。可以让RealPlayer随机播放列表中的文件

参数:src属性:任何合法的相对或是完整的URL作用:指定播放的文件或是源文件的地址

参数:type属性:字符串作用:为嵌入插件指定MIME类型

参数:width属性:任何整数值作用:指定RealPlayer元素的宽度

controls的属性含义...

组件:imagewindow

作用:视频显示区域

组件:All

作用:嵌入RealPlaver的所有按钮、滑动条和信息面板

组件:ControlPanel

作用:显示所有的控制按钮,以及位置滑动条和扬声器图标,和调节声音大小的滑动条

组件:PlayButton

作用:显示播放(play)按钮和暂停(pause)按钮

组件:PlayOnlyButton

作用:仅显示播放按钮

组件:PauseButton

作用:仅显示暂停按钮

组件:StopButton

作用:仅显示停止(stop)按钮

组件:FFCtrl

作用:仅显示快进(fastforward)按钮

组件:RWCtrl

作用:仅显示回放(rewind)按钮

组件:MuteCtrl

作用:仅显示扬声器图标,用作静音按钮

组件:MuteVolume

作用:显示小的扬声器图标(用于静音)和其上的用于调节音量的滑动条

组件:VolumeSlider

作用:仅显示竖直的音量滑动条

组件:PositionSlider

作用:显示水平的位置滑动条

组件:tacctrl

作用:显示水平的消息框,轮流显示标题、作者以及版权信息

组件:HomeCtrl

作用:显示小的Real标识

组件:infoVolumePanel

作用:显示黑的消息框,用绿色显示标题、作者以及版权信息,在右手方有扬声器图标和声音调节滑动条

组件:infoPanel

作用:同上面一样,但是没有静音按钮和声音调节滑动条

组件:StatusBar

作用:显示水平的消息框,显示片断信息,比如片断的时间,网络状况等等

组件:StatusField

作用:同StatusBar类似,但是只显示消息区域,显示网络消息,比如显示“Re-buffenng...”

组件:PositionField

作用:小的黑的消息框,显示整个文件片断长度以及当前帧在片内的位置

嵌入RealOne播放器<objectID="rPlayer"CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"HEIGHT="100%"WIDTH="100%">

<paramname="_ExtentX"value="23627">

<paramname="_ExtentY"value="15187">

<paramname="AUTOSTART"value="-1">

<paramname="SHUFFLE"value="0">

<paramname="PREFETCH"value="0">

<paramname="NOLABELS"value="0">

<paramname="SRC"value="http://www.blogerhome.com/address.asp?num=24009987&id=10019">

<paramname="CONTROLS"value="ImageWindow">

<paramname="CONSOLE"value="Clip1">

<paramname="LOOP"value="0">

<paramname="NUMLOOP"value="0">

<paramname="CENTER"value="0">

<paramname="MAINTAINASPECT"value="0">

<paramname="BACKGROUNDCOLOR"value="#000000">

</object>

嵌入MediaPlayer播放器

<objectid="MediaPlayer"width="478"height="300"codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.

cab#Version=6,1,5,217"type="application/x-oleobject"standby="LoadingMicrosoftWindowsMediaPlayercomponents..."classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"VIEWASTEXT>

<paramname="DisplayBackColor"value="0">

<paramname="DisplayForeColor"value="16777215">

<paramname="DisplayMode"value="0">

<paramname="DisplaySize"value="-1">

<paramname="Filename"value="mms://www.webjx.com/视频文件.wmv">

<>

<paramname="ShowControls"value="0">

</object>

RealPlayer的一些函数、方法和过程

这是RealPlayerActiveXControlLibrary(Version1.0)的所有函数与方法,有兴趣可以研究一下。

functionGetSource:WideString;

procedureSetSource(constlpszNewValue:WideString);

functionGetConsole:WideString;

procedureSetConsole(constlpszNewValue:WideString);

functionGetControls:WideString;

procedureSetControls(constlpszNewValue:WideString);

functionGetNoLabels:WordBool;

procedureSetNoLabels(bNewValue:WordBool);

functionGetAutoStart:WordBool;

procedureSetAutoStart(bNewValue:WordBool);

functionGetAutoGotoURL:WordBool;

procedureSetAutoGotoURL(bNewValue:WordBool);

functionGetVolume:Smallint;

procedureSetVolume(nVol:Smallint);

functionGetMute:WordBool;

procedureSetMute(bMute:WordBool);

functionGetLoop:WordBool;

procedureSetLoop(bVal:WordBool);

functionGetImageStatus:WordBool;

procedureSetImageStatus(bEnable:WordBool);

functionGetPacketsTotal:Integer;

functionGetPacketsReceived:Integer;

functionGetPacketsOutOfOrder:Integer;

functionGetPacketsMissing:Integer;

functionGetPacketsEarly:Integer;

functionGetPacketsLate:Integer;

functionGetBandwidthAverage:Integer;

functionGetBandwidthCurrent:Integer;

procedureDoPlayPause;

procedureDoStop;

procedureDoNextItem;

procedureDoPrevItem;

functionCanPlayPause:WordBool;

functionCanStop:WordBool;

functionHasNextItem:WordBool;

functionHasPrevItem:WordBool;

functionHasNextEntry:WordBool;

functionHasPrevEntry:WordBool;

procedureDoNextEntry;

procedureDoPrevEntry;

procedureAboutBox;

procedureEditPreferences;

procedureHideShowStatistics;

functionIsStatisticsVisible:WordBool;

procedureDoGotoURL(consturl:WideString;consttarget:WideString);

procedureDoPlay;

procedureDoPause;

functionGetPosition:Integer;

functionGetPlayState:Integer;

functionGetLength:Integer;

functionGetTitle:WideString;

functionGetAuthor:WideString;

functionGetCopyright:WideString;

functionGetClipWidth:Integer;

functionGetClipHeight:Integer;

functionCanPlay:WordBool;

functionCanPause:WordBool;

procedureSetPosition(lPosition:Integer);

functionGetNumLoop:Integer;

procedureSetNumLoop(lVal:Integer);

functionGetCenter:WordBool;

procedureSetCenter(bVal:WordBool);

functionGetNoLogo:WordBool;

procedureSetNoLogo(bVal:WordBool);

functionGetMaintainAspect:WordBool;

procedureSetMaintainAspect(bVal:WordBool);

functionGetBackgroundColor:WideString;

procedureSetBackgroundColor(constpVal:WideString);

functionGetStereoState:WordBool;

functionGetLiveState:WordBool;

functionGetShowStatistics:WordBool;

procedureSetShowStatistics(bVal:WordBool);

functionGetShowPreferences:WordBool;

procedureSetShowPreferences(bVal:WordBool);

functionGetShowAbout:WordBool;

procedureSetShowAbout(bVal:WordBool);

functionGetOriginalSize:WordBool;

procedureSetOriginalSize;

functionGetDoubleSize:WordBool;

procedureSetDoubleSize;

functionGetFullScreen:WordBool;

procedureSetFullScreen;

functionGetEnableContextMenu:WordBool;

procedureSetEnableContextMenu(bVal:WordBool);

functionGetEnableOriginalSize:WordBool;

procedureSetEnableOriginalSize(bVal:WordBool);

functionGetEnableDoubleSize:WordBool;

procedureSetEnableDoubleSize(bVal:WordBool);

functionGetEnableFullScreen:WordBool;

procedureSetEnableFullScreen(bVal:WordBool);

functionGetEnableMessageBox:WordBool;

procedureSetEnableMessageBox(bVal:WordBool);

procedureSetTitle(constpVal:WideString);

procedureSetAuthor(constpVal:WideString);

procedureSetCopyright(constpVal:WideString);

functionGetWantKeyboardEvents:WordBool;

procedureSetWantKeyboardEvents(bWantsEvents:WordBool);

functionGetWantMouseEvents:WordBool;

procedureSetWantMouseEvents(bWantsEvents:WordBool);

functionGetNumEntries:Smallint;

functionGetCurrentEntry:Smallint;

functionGetEntryTitle(uEntryIndex:Smallint):WideString;

functionGetEntryAuthor(uEntryIndex:Smallint):WideString;

functionGetEntryCopyright(uEntryIndex:Smallint):WideString;

functionGetEntryAbstract(uEntryIndex:Smallint):WideString;

procedureSetCanSeek(bCanSeek:WordBool);

functionGetCanSeek:WordBool;

functionGetBufferingTimeElapsed:Integer;

functionGetBufferingTimeRemaining:Integer;

functionGetConnectionBandwidth:Integer;

functionGetPreferedLanguageString:WideString;

functionGetPreferedLanguageID:Integer;

functionGetUserCountryID:Integer;

functionGetNumSources:Smallint;

functionGetSourceTransport(nSourceNum:Smallint):WideString;

functionGetWantErrors:WordBool;

procedureSetWantErrors(bVal:WordBool);

functionGetShuffle:WordBool;

procedureSetShuffle(bVal:WordBool);

functionGetVersionInfo:WideString;

functionGetLastMessage:WideString;

functionGetLastErrorSeverity:Integer;

functionGetLastErrorRMACode:Integer;

functionGetLastErrorUserCode:Integer;

functionGetLastErrorUserString:WideString;

functionGetLastErrorMoreInfoURL:WideString;

procedureSetPreFetch(bVal:WordBool);

functionGetPreFetch:WordBool;

procedureSetRegion(constpVal:WideString);

functionGetRegion:WideString;

functionGetIsPlus:WordBool;

functionGetConsoleEvents:WordBool;

procedureSetConsoleEvents(bVal:WordBool);

functionGetDRMInfo(constpVal:WideString):WideString;

propertyControlInterface:IRealAudioreadGetControlInterface;

propertyDefaultInterface:IRealAudioreadGetControlInterface;

全屏:

1、mediaplayer全屏方法

<scriptlanguage="JavaScript">

<>

</script>

<tdwidth="39%"height="1"bgcolor="#E0E0E0">

<inputtype="button"onMouseDown="DoFull()"value="全屏显示"style="border-style:ridge;border-width:1">

<spanlang="en-us">ESC</span>返回</td>

</tr>

</table>

</td>

</tr>

<tr>

<tdwidth="100%">

<palign="center">

<objectid=MediaPlayer1classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95width=468height=358>

<paramname="filename"value=/film/play.asp>

<paramname="AutoStart"value="-1">

<paramname="Enabled"value="-1">

<paramname="ShowControls"value="-1">

<paramname="ShowGotoBar"value="0">

<paramname="ShowStatusBar"value="-1">

<paramname="EnableFullScreenControls"value="0">

<paramname="EnablePositionControls"value="0">

<paramname="Volume"value="0">

<paramname="DisplaySize"value="4">

<paramname="SendErrorEvents"value="0">

<paramname="enableContextMenu"value="0">

<paramname="EnableTracker"value="-1">

<paramname="AudioStream"value="-1">

<paramname="AutoSize"value="0">

<paramname="AnimationAtStart"value="-1">

<paramname="AllowScan"value="-1">

<paramname="AllowChangeDisplaySize"value="-1">

<paramname="AutoRewind"value="0">

<paramname="Balance"value="0">

<paramname="BaseURL"value>

<paramname="BufferingTime"value="5">

<paramname="CaptioningID"value>

<paramname="ClickToPlay"value="-1">

<paramname="CursorType"value="0">

<paramname="CurrentPosition"value="-1">

<paramname="CurrentMarker"value="0">

<paramname="DefaultFrame"value>

<paramname="DisplayBackColor"value="0">

<paramname="DisplayForeColor"value="16777215">

<paramname="DisplayMode"value="0">

<paramname="InvokeURLs"value="-1">

<paramname="Language"value="-1">

<paramname="Mute"value="0">

<paramname="PlayCount"value="1">

<paramname="PreviewMode"value="0">

<paramname="Rate"value="1">

<paramname="SAMILang"value>

<paramname="SAMIStyle"value>

<paramname="SAMIFileName"value>

<paramname="SelectionStart"value="-1">

<paramname="SelectionEnd"value="-1">

<paramname="SendOpenStateChangeEvents"value="-1">

<paramname="SendWarningEvents"value="-1">

<paramname="SendKeyboardEvents"value="0">

<paramname="SendMouseClickEvents"value="0">

<paramname="SendMouseMoveEvents"value="0">

<paramname="SendPlayStateChangeEvents"value="-1">

<paramname="ShowCaptioning"value="0">

<paramname="ShowAudioControls"value="-1">

<paramname="ShowDisplay"value="0">

<paramname="ShowPositionControls"value="-1">

<paramname="ShowTracker"value="-1">

<paramname="TransparentAtStart"value="0">

<paramname="VideoBorderWidth"value="0">

<paramname="VideoBorderColor"value="0">

<paramname="VideoBorder3D"value="0">

<paramname="WindowlessVideo"value="0">

</object>

</td>

</tr>

</table>还有一种我在网上找的,没有用,不过楼主好像说功能好用,呵呵。

<objectclassid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"id="MediaPlayer1"width="580"height="435">

<paramname="AudioStream"value="-1">

<paramname="AutoSize"value="0">

<paramname="AutoStart"value="-1">

<paramname="AnimationAtStart"value="-1">

<paramname="AllowScan"value="-1">

<paramname="AllowChangeDisplaySize"value="-1">

<paramname="AutoRewind"value="0">

<paramname="Balance"value="0">

<paramname="BaseURL"value>

<paramname="BufferingTime"value="5">

<paramname="CaptioningID"value>

<paramname="ClickToPlay"value="-1">

<paramname="CursorType"value="0">

<paramname="CurrentPosition"value="-1">

<paramname="CurrentMarker"value="0">

<paramname="DefaultFrame"value>

<paramname="DisplayBackColor"value="0">

<paramname="DisplayForeColor"value="16777215">

<paramname="DisplayMode"value="0">

<paramname="DisplaySize"value="2">

<paramname="Enabled"value="-1">

<paramname="EnableContextMenu"value="-1">

<paramname="EnablePositionControls"value="-1">

<paramname="EnableFullScreenControls"value="0">

<paramname="EnableTracker"value="-1">

<paramname="Filename"value="http://www.blogerhome.com/videos/刘德华-缺憾美.mpg">

<paramname="InvokeURLs"value="-1">

<paramname="Language"value="-1">

<paramname="Mute"value="0">

<paramname="PlayCount"value="1">

<paramname="PreviewMode"value="0">

<paramname="Rate"value="1">

<paramname="SAMILang"value>

<paramname="SAMIStyle"value>

<paramname="SAMIFileName"value>

<paramname="SelectionStart"value="-1">

<paramname="SelectionEnd"value="-1">

<paramname="SendOpenStateChangeEvents"value="-1">

<paramname="SendWarningEvents"value="-1">

<paramname="SendErrorEvents"value="-1">

<paramname="SendKeyboardEvents"value="0">

<paramname="SendMouseClickEvents"value="0">

<paramname="SendMouseMoveEvents"value="0">

<paramname="SendPlayStateChangeEvents"value="-1">

<paramname="ShowCaptioning"value="0">

<paramname="ShowControls"value="-1">

<paramname="ShowAudioControls"value="-1">

<paramname="ShowDisplay"value="0">

<paramname="ShowGotoBar"value="0">

<paramname="ShowPositionControls"value="-1">

<paramname="ShowStatusBar"value="-1">

<paramname="ShowTracker"value="-1">

<paramname="TransparentAtStart"value="0">

<paramname="VideoBorderWidth"value="0">

<paramname="VideoBorderColor"value="0">

<paramname="VideoBorder3D"value="0">

<paramname="Volume"value="-40">

<paramname="WindowlessVideo"value="0">

</object>

这个功能比较完整,支持原有的快捷键以及右键菜单

2、realplayer全屏的方法一

realplayer播放4(带视频)

<SCRIPTlanguage=javascript>

Real='document.RAOCX.'

functionDoPlay()

{eval(Real+'DoPlay()');}

functionDoStop()

{eval(Real+'DoStop()');}

functionDoPlayPause()

{eval(Real+'DoPlayPause()');}

functionSetFullScreen()

{

eval(Real+'SetFullScreen()');

fullscreen=true;

DoPlayPause();

DoPlay();

}

functionGetFullScreen()

{

if(eval(Real+'GetFullScreen()'))

returntrue;

else

returnfalse;

}

</SCRIPT>

<OBJECTclassid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAclass=OBJECTid=RAOCXwidth=376height=248>

<PARAMNAME=SRCVALUE="../upload/<%=rsp("path")%>">

<PARAMNAME=CONSOLEVALUE=Clip1>

<PARAMNAME=CONTROLSVALUE=imagewindow>

<PARAMNAME=AUTOSTARTVALUE=true></OBJECT><br/>

<OBJECTclassid=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFAheight=24id=video2width=376>

<PARAMNAME=SRCVALUE="../upload/<%=rsp("path")%>">

<PARAMNAME=AUTOSTARTVALUE=-1>

<PARAMNAME=CONTROLSVALUE=controlpanel>

<PARAMNAME=CONSOLEVALUE=Clip1></OBJECT>

<ahref="#"title="全屏幕欣赏,按ESC键还原。"style="CURSOR:hand"onclick=SetFullScreen()>□全屏播放□</a>

3、realplayer全屏的方法二

<html>

<head>

<title>在线播放</title>

<SCRIPT>

<>

</SCRIPT>

</head>

<bodymarginwidth="0"leftmargin="0"topmargin="0"bgcolor="#000000"scroll="no"oncontextmenu="window.event.returnValue=false"ondragstart="window.event.returnValue=false"onselectstart="event.returnValue=false">

<scriptlanguage="JAVASCRIPT">

<>

</script>

<center>

<p></p>

</center>

<divalign="center">

<center>

<tableborder="0"cellspacing="0"width="337"cellpadding="0"style="border-collapse:collapse"bordercolor="#111111">

<tr>

<tdwidth="100%">

<tableborder="0"cellspacing="0"style="border-collapse:collapse"width="108%"id="AutoNumber1"bgcolor="#F0F0F0"cellpadding="0">

<tr>

<tdwidth="55%"height="1"bgcolor="#E0E0E0">

<palign="left"><fontsize="2">谢谢你的访问!!!!!</font></td>

<formname="fm0"onSubmit="0">

<tdwidth="7%"height="1"bgcolor="#E0E0E0">

<inputtype="text"name="time_spent"size="5"onFocus="this.blur()"style="border-style:groove;border-width:1;background-color:#EEEEEE"></td>

</form>

<scriptlanguage="JavaScript">

<>

</script>

<tdwidth="38%"height="1"bgcolor="#E0E0E0">

<inputtype="button"onMouseDown="DoFull()"value="全屏显示"style="border-style:ridge;border-width:1">

<spanlang="en-us"><fontsize="2">ESC</font></span><fontsize="2">返回</font></td>

</tr>

</table>

</td>

</tr>

<tr>

<tdwidth="100%"><palign="center">

<objectid="RP1"classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"width=468height=358>

<paramname="_ExtentX"value="4445">

<paramname="_ExtentY"value="3334">

<paramname="AUTOSTART"value="-1">

<paramname="SHUFFLE"value="0">

<paramname="PREFETCH"value="0">

<paramname="NOLABELS"value="-1">

<paramname="SRC"value="rtsp://61.177.95.61:554/ent/2005/promise_1104.rm">

<paramname="CONTROLS"value="Imagewindow,StatusBar,ControlPanel">

<paramname="CONSOLE"value="clip1">

<paramname="LOOP"value="0">

<paramname="NUMLOOP"value="0">

<paramname="CENTER"value="0">

<paramname="MAINTAINASPECT"value="0">

<paramname="BACKGROUNDCOLOR"value="#000000"><embedsrc="rtsp://61.177.95.61:554/ent/2005/promise_1104.rm"type="audio/x-pn-realaudio-plugin">

</object>

</td>

</tr>

</table>

</center>

</div>

</body>

</html>4、realplayer全屏的方法三

如果是realone要全屏只要HEAD加入以下这段JS代码<script>

functionsetFull()

{

if(!document.playfull.CanStop())

{

alert("影片未开始播放无法切换为全屏模式")

}

else

{

alert("点击确定按钮后进入全屏播放模式,在全屏播放模式中按Esc键退出全屏模式")

document.playfull.SetFullScreen()

}

}

//-->

</script>在body入面

<ahref="#"onclick="setFull();">全屏</a>

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新网页播放器学习
热门网页播放器学习
编程开发子分类