佳木斯湛栽影视文化发展公司

主頁 > 知識庫 > 頁面嵌入Windows Media Player播放器代碼需要注意的

頁面嵌入Windows Media Player播放器代碼需要注意的

熱門標(biāo)簽:智能手機 服務(wù)器配置 網(wǎng)站文章發(fā)布 銀行業(yè)務(wù) 鐵路電話系統(tǒng) 檢查注冊表項 呼叫中心市場需求 美圖手機

這里是WMP的版本ClassID,從WMP7后ID就成了clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6,之前的6.4為clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95,但是之前的版本還是可以用的,只不過新功能用不了罷了。

下面這個是具體的版本號,你可以對比一下你現(xiàn)在的是什么版本。

版本號              Windows Media Player (WMP) 的版本
----------------------------------------------------------------
5.1.51.421         WMP 5.2 Beta
5.1.52.701         WMP 5.2
6.02.902           WMP 6.0
6.1.5.130          WMP 6.0 Internet Explorer 5 RC0 Beta
6.1.7.217          WMP 6.0
6.2.5.410          WMP 6.2 Beta
6.4.5.809          WMP 6.4
6.4.6.*             WMP 6.4 for Windows 2000 Beta
6.4.7.1028          WMP 6.4,具有多位速率 (MBR) 更新,用于Internet Explorer
6.4.7.1112         WMP 6.4,具有 MBR 更新(在 6.4.7.1028 的基礎(chǔ)上對錯誤消息進行了較小更新)
6.4.9.*              WMP 6.4,僅用于 Windows 2000
7.0.0.1954         WMP 7
7.0.0.1958         WMP 7 更新
7.0.0.1956         WMP 7,更新了安裝程序
7.0.0.1440         WMP 7,用于 Windows Millennium Edition (Me)
7.01.00.3055       WMP 7.1
8.00.00.4477       WMP for Windows XP
9.00.00.2980      WMP 9 系列,用于 Windows XP、Windows 98 Second Edition、Windows Me 和 Windows 2000
9.00.00.2991        WMP 9 系列,用于 Windows Server 2003
10.00.00.3646     WMP 10

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

官方的插入方式真夠簡單的,我都有點想踹他們兩腳,

OBJECT ID="Player"
  CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
    PARAM name="autoStart" value="True">
/OBJECT>
下面是具體參數(shù)在不同瀏覽器的可用性,這個東東真是太有用了,好多參數(shù)用了不起作用,我都測試的快瘋了,一看這個列表,原來人家壓根不支持,暈...

PARAM name Internet Explorer Firefox with mime type application/x-ms-wmp Firefox with any other mime type
autoStart yes yes yes
balance yes yes yes
baseURL yes yes yes
captioningID yes yes yes
currentMarker yes yes yes
currentPosition yes yes yes
defaultFrame yes no no
enableContextMenu yes yes yes
enabled yes yes yes
enableErrorDialogs yes yes no
fileName no yes yes
fullScreen yes no no
invokeURLs yes no no
mute yes yes yes
playCount yes yes no
rate yes yes yes
SAMIFileName yes yes yes
SAMILang yes yes yes
SAMIStyle yes yes yes
SRC no yes yes
stretchToFit yes yes no
URL yes yes yes
volume yes yes yes
windowlessVideo yes yes yes

 參數(shù)的默認(rèn)值:

Parameter Default Description
AudioStream true  
AutoSize true  
AutoStart true Sets if the player should start automatically
AnimationAtStart true Sets if an animation should show while the file loads
AllowScan true  
AllowChangeDisplaySize true  
AutoRewind false  
Balance false  
BaseURL    
BufferingTime 5  
CaptioningID    
ClickToPlay true Sets if the player should start when the user clicks in the play area
CursorType false  
CurrentPosition true  
CurrentMarker false  
DefaultFrame    
DisplayBackColor false  
DisplayForeColor 16777215  
DisplayMode false  
DisplaySize false  
Enabled true  
EnableContextMenu true  
EnablePositionControls true  
EnableFullScreenControls false  
EnableTracker true  
Filename URL The URL of the file to play
InvokeURLs true  
Language true  
Mute false  
PlayCount 1  
PreviewMode false  
Rate 1  
SAMILang    
SAMIStyle    
SAMIFileName    
SelectionStart true  
SelectionEnd true  
SendOpenStateChangeEvents true  
SendWarningEvents true  
SendErrorEvents true  
SendKeyboardEvents false  
SendMouseClickEvents false  
SendMouseMoveEvents false  
SendPlayStateChangeEvents true  
ShowCaptioning false  
ShowControls true Sets if the player controls should show
ShowAudioControls true Sets if the audio controls should show
ShowDisplay false Sets if the display should show
ShowGotoBar false Sets if the GotoBar should show
ShowPositionControls true  
ShowStatusBar false  
ShowTracker true  
TransparantAtStart false  
VideoBorderWidth false  
VideoBorderColor false  
VideoBorder3D false  
Volume -200  
WindowlessVideo false  

 可能你最想知道的是怎么用程序(我偏向用JS)來控制WMP的播放、停止、快進吧,看看這里吧,http://msdn.microsoft.com/en-us/library/dd564034%28VS.85%29.aspx,有詳細(xì)的說明和例子。(英文的)

您可能感興趣的文章:
  • Android MediaPlayer實現(xiàn)音樂播放器實例代碼
  • 基于jQuery的網(wǎng)頁影音播放器jPlayer的基本使用教程
  • 基于Flowplayer打造一款免費的WEB視頻播放器附源碼
  • flvplayer.swf flv視頻播放器使用方法
  • 超酷的網(wǎng)頁音樂播放器DewPlayer使用方法
  • MediaPlayer 在線播放器代碼
  • 內(nèi)嵌式RealPlayer播放器的參數(shù)含義
  • Window Media Player 播放器
  • 網(wǎng)頁播放器的參數(shù)含義 Windows Media Player 網(wǎng)頁播放器 參數(shù)含義
  • layer彈出層中H5播放器全屏出錯的解決方法

標(biāo)簽:樂山 上海 紅河 新疆 沈陽 滄州 長治 河南

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《頁面嵌入Windows Media Player播放器代碼需要注意的》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    呼图壁县| 咸丰县| 彭州市| 元朗区| 安新县| 伊宁市| 台湾省| 临高县| 安多县| 于都县| 孟连| 卓尼县| 河南省| 德江县| 通化县| 台南市| 东乌珠穆沁旗| 河北区| 古田县| 淳化县| 阿荣旗| 永平县| 淮安市| 公安县| 离岛区| 玉门市| 盐池县| 马关县| 城步| 左贡县| 达州市| 万载县| 黔东| 合阳县| 镇原县| 恩平市| 通许县| 防城港市| 北辰区| 长乐市| 宾川县|