这里是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
参数的默认值:
可能你最想知道的是怎么用程序(我偏向用JS)来控制WMP的播放、停止、快进吧,看看这里吧,http://msdn.microsoft.com/en-us/library/dd564034%28VS.85%29.aspx,有详细的说明和例子。(英文的)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
更新日志
- 梁汉文1994-壹精选[华星][WAV+CUE]
- 洪荣宏1981-歹路不可行·相思雨(飞跃复刻版)[光美][WAV+CUE]
- 旅行团2015-10Day’s[来福胶泥][WAV+CUE]
- 龙千玉.2011-卡将哟【豪记】【WAV+CUE】
- 蔣志光.1993-多情多寂寞(国专)【BMG】【WAV+CUE】
- 陈慧娴.1996-雪映美白96演唱会2CD(2024环球红馆40复刻系列)【环球】【WAV+CUE】
- 王子异《1996 Part.2》[FLAC/分轨][50.66MB]
- 贵族音乐《古典名曲与轻音乐钢琴 打开宝宝睡眠开关》[320K/MP3][155.91MB]
- 贵族音乐《古典名曲与轻音乐钢琴 打开宝宝睡眠开关》[FLAC/分轨][251.78MB]
- 黄韵玲2001-巴结音乐[全员集合][WAV+CUE]
- 郑绪岚2015-流金岁月·精选[首版][WAV+CUE]
- 周冰倩1995《沧桑情歌》JVC日本录制[WAV+CUE]
- 辛禄乐队.2024-热烈的少年【星辰】【FLAC分轨】
- 成龙.1996-龙的心【滚石】【WAV+CUE】
- 童安格.1991-一世情缘【宝丽金】【WAV+CUE】