页面嵌入Windows Media Player播放器代码需要注意的
这里是WMP的版本ClassID,从WMP7后ID就成了clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6,之前的6.4为clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95,但是之前的版本还是可以用的,只不过新功能用不了罢了。
狼蚁网站SEO优化这个是具体的版本号,你可以对比一下你现在的是什么版本。
版本号 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 Inter 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) 更新,用于Inter 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>
狼蚁网站SEO优化是具体参数在不同浏览器的可用性,这个东东真是太有用了,好多参数用了不起作用,我都测试的快疯了,一看这个列表,原来人家压根不支持,晕...
PARAM name | Inter Explorer | Firefox with mime type application/x-ms-wmp | Firefox with any other mime type |
yes | yes | yes | |
yes | yes | yes | |
yes | yes | yes | |
yes | yes | yes | |
yes | yes | yes | |
yes | yes | yes | |
yes | no | no | |
yes | yes | yes | |
yes | yes | yes | |
yes | yes | no | |
fileName | no | yes | yes |
yes | no | no | |
yes | no | no | |
yes | yes | yes | |
yes | yes | no | |
yes | yes | yes | |
yes | yes | yes | |
yes | yes | yes | |
yes | yes | yes | |
SRC | no | yes | yes |
yes | yes | no | |
yes | yes | yes | |
yes | yes | yes | |
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的播放、停止、快进吧,看看这里吧,,有详细的说明和例子。(英文的)
编程语言
- 机械手焊接机器人编程 机械手焊接设备编程
- vb数据库编程实例,vb做数据库
- tiobe世界编程语言排行榜,全球编程语言排行
- 成都java编程培训 成都it编程培训中心
- 编程基础培训,编程基础知识培训
- flash游戏编程基础教程,flash游戏开发教程
- 不会英语能学编程吗 不会英语可以学程序员吗
- 爱心代码编程C语言 爱心代码编程c语言公式
- c语言编程学习入门 c语言编程快速入门
- 西门子plc编程培训 西门子plc编程培训班
- 哪里可以学编程 台州哪里可以学编程
- 少儿编程哪个好 少儿编程哪个品牌好
- 编程是什么意思,图形编程是什么意思
- c语言编程软件下载,c语言编程软件在哪下载
- java编程软件下载,java编程下载手机版
- ug编程培训学校,ug编程培训教程