DDR爱好者之家 Design By 杰米

这里是WMP的版本ClassID,从WMP7后ID就成了clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6,之前的6.4为clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95,但是之前的版本还是可以用的,只不过新功能用不了罢了。

下面这个是具体的版本号,你可以对比一下你现在的是什么版本。

版本号              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 的基础上对错误消息进行了较小更新)
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>
下面是具体参数在不同浏览器的可用性,这个东东真是太有用了,好多参数用了不起作用,我都测试的快疯了,一看这个列表,原来人家压根不支持,晕...

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

 参数的默认值:

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,有详细的说明和例子。(英文的)

DDR爱好者之家 Design By 杰米
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
DDR爱好者之家 Design By 杰米

《魔兽世界》大逃杀!60人新游玩模式《强袭风暴》3月21日上线

暴雪近日发布了《魔兽世界》10.2.6 更新内容,新游玩模式《强袭风暴》即将于3月21 日在亚服上线,届时玩家将前往阿拉希高地展开一场 60 人大逃杀对战。

艾泽拉斯的冒险者已经征服了艾泽拉斯的大地及遥远的彼岸。他们在对抗世界上最致命的敌人时展现出过人的手腕,并且成功阻止终结宇宙等级的威胁。当他们在为即将于《魔兽世界》资料片《地心之战》中来袭的萨拉塔斯势力做战斗准备时,他们还需要在熟悉的阿拉希高地面对一个全新的敌人──那就是彼此。在《巨龙崛起》10.2.6 更新的《强袭风暴》中,玩家将会进入一个全新的海盗主题大逃杀式限时活动,其中包含极高的风险和史诗级的奖励。

《强袭风暴》不是普通的战场,作为一个独立于主游戏之外的活动,玩家可以用大逃杀的风格来体验《魔兽世界》,不分职业、不分装备(除了你在赛局中捡到的),光是技巧和战略的强弱之分就能决定出谁才是能坚持到最后的赢家。本次活动将会开放单人和双人模式,玩家在加入海盗主题的预赛大厅区域前,可以从强袭风暴角色画面新增好友。游玩游戏将可以累计名望轨迹,《巨龙崛起》和《魔兽世界:巫妖王之怒 经典版》的玩家都可以获得奖励。