国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網(wǎng)站 > 軟件應(yīng)用 > 正文

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

2024-09-06 19:16:46
字體:
供稿:網(wǎ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 nameInternet ExplorerFirefox with mime type application/x-ms-wmpFirefox with any other mime type
autoStartyesyesyes
balanceyesyesyes
baseURLyesyesyes
captioningIDyesyesyes
currentMarkeryesyesyes
currentPositionyesyesyes
defaultFrameyesnono
enableContextMenuyesyesyes
enabledyesyesyes
enableErrorDialogsyesyesno
fileNamenoyesyes
fullScreenyesnono
invokeURLsyesnono
muteyesyesyes
playCountyesyesno
rateyesyesyes
SAMIFileNameyesyesyes
SAMILangyesyesyes
SAMIStyleyesyesyes
SRCnoyesyes
stretchToFityesyesno
URLyesyesyes
volumeyesyesyes
windowlessVideoyesyesyes

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

ParameterDefaultDescription
AudioStreamtrue 
AutoSizetrue 
AutoStarttrueSets if the player should start automatically
AnimationAtStarttrueSets if an animation should show while the file loads
AllowScantrue 
AllowChangeDisplaySizetrue 
AutoRewindfalse 
Balancefalse 
BaseURL  
BufferingTime5 
CaptioningID  
ClickToPlaytrueSets if the player should start when the user clicks in the play area
CursorTypefalse 
CurrentPositiontrue 
CurrentMarkerfalse 
DefaultFrame  
DisplayBackColorfalse 
DisplayForeColor16777215 
DisplayModefalse 
DisplaySizefalse 
Enabledtrue 
EnableContextMenutrue 
EnablePositionControlstrue 
EnableFullScreenControlsfalse 
EnableTrackertrue 
FilenameURLThe URL of the file to play
InvokeURLstrue 
Languagetrue 
Mutefalse 
PlayCount1 
PreviewModefalse 
Rate1 
SAMILang  
SAMIStyle  
SAMIFileName  
SelectionStarttrue 
SelectionEndtrue 
SendOpenStateChangeEventstrue 
SendWarningEventstrue 
SendErrorEventstrue 
SendKeyboardEventsfalse 
SendMouseClickEventsfalse 
SendMouseMoveEventsfalse 
SendPlayStateChangeEventstrue 
ShowCaptioningfalse 
ShowControlstrueSets if the player controls should show
ShowAudioControlstrueSets if the audio controls should show
ShowDisplayfalseSets if the display should show
ShowGotoBarfalseSets if the GotoBar should show
ShowPositionControlstrue 
ShowStatusBarfalse 
ShowTrackertrue 
TransparantAtStartfalse 
VideoBorderWidthfalse 
VideoBorderColorfalse 
VideoBorder3Dfalse 
Volume-200 
WindowlessVideofalse 

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

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 龙里县| 西昌市| 玉环县| 万全县| 沿河| 潼南县| 高青县| 靖安县| 米林县| 崇义县| 三门县| 日喀则市| 通渭县| 平泉县| 五峰| 德清县| 香港| 天峻县| 米林县| 五原县| 论坛| 襄汾县| 桂林市| 丹棱县| 万载县| 胶州市| 西安市| 新竹县| 沧州市| 焉耆| 金平| 余干县| 广昌县| 绿春县| 蚌埠市| 荆门市| 桓仁| 汶上县| 三亚市| 郑州市| 和硕县|