当前位置: 首页 > 网络学院 > 网页制作基础教程 > Internet > Windows媒体播放器参考
Windows Media Player comes in many different versions.
Windows 多媒体播放器包含许多版本。
Here are the class ID's of the different versions, with a list of parameters.
这里有不同版本的class ID,并且包含参量列表。
The correct class ID for Windows Media Player 7 and later is: clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6.
Windows Media Player 7 和 更新版本的有效 classID 是:clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6。
Many places on the internet it states that the class ID should be: clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95. This class ID is the old one, but it will work. However, if you use the old class ID you will not be able to use the new features added to the component.
在互联网上,许多关于ID的陈述是:clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95。其实,这个class ID 已经旧了,但它依然有效。然而,如果你使用的是旧的class ID,那么你将不能使用组建中新添加的特性了。
clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6 (与 WMP7相同)
clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6 (与 WMP7相同)
clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6
clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95
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 指定播放文件的URL |
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 |
Parameter 参数 | Default 默认值 | Description 描述 |
---|---|---|
Appearance | false | |
AutoStart | false | |
AllowChangeDisplayMode | true | |
AllowHideDisplay | false | |
AllowHideControls | true | |
AutoRewind | true | |
Balance | false | |
CurrentPosition | false | |
DisplayBackColor | false | |
DisplayForeColor | 16777215 | |
DisplayMode | false | |
Enabled | true | |
EnableContextMenu | true | |
EnablePositionControls | true | |
EnableSelectionControls | false | |
EnableTracker | true | |
Filename | ||
FullScreenMode | false | |
MovieWindowSize | false | |
PlayCount | 1 | |
Rate | 1 | |
SelectionStart | true | |
SelectionEnd | true | |
ShowControls | true | |
ShowDisplay | true | |
ShowPositionControls | false | |
ShowTracker | true | |
Volume | -200 |