Windows Media Player reference manual

Windows Media Player

Windows Media Player 存在多个不同的版本。

在此,我们提供了不同版本的 class ID,以及参数列表。

为什么 class ID 会改变?

Windows Media Player 7 及更高版本的 class ID 是:clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6.

因特网上的许多地方把 class ID 声明为:clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95. 此 class ID 是一个老的版本,但是依然可以工作,这是因为其向后兼容性。但是如果您使用了老的 class ID,就无法使用增加到组件中的新特性了。

Windows Media Player 10

clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6 (与 WMP7 相同)

Windows Media Player 9

clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6 (与 WMP7 相同)

Windows Media Player 7

clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6

Windows Media Player 6.4

clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95

Parameter Standardværdi Beskrivelse
AudioStream true  
AutoSize true  
AutoStart true Indstiller om spilleren skal starte automatisk
AnimationAtStart true Indstiller om en animation skal vises, mens filen indlæses
AllowScan true  
AllowChangeDisplaySize true  
AutoRewind false  
Balance false  
BaseURL    
BufferingTime 5  
CaptioningID    
ClickToPlay true Indstiller om spilleren skal starte, når brugeren klikker i afspilningsområdet
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 URL'en til filen, der skal afspilles
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 Indstiller om spillerkontrollerne skal vises
ShowAudioControls true Indstiller om lydkontrollerne skal vises
ShowDisplay false Indstiller om visningen skal vises
ShowGotoBar false Indstiller om GotoBar skal vises
ShowPositionControls true  
ShowStatusBar false  
ShowTracker true  
TransparantAtStart false  
VideoBorderWidth false  
VideoBorderColor false  
VideoBorder3D false  
Volume -200  
WindowlessVideo false  

Windows Media Player 6 (ældre version)

clsid:05589FA1-C356-11CE-BF01-00AA0055595A

Parameter Standardværdi Beskrivelse
Udseende 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