Manual de Referência do Windows Media Player

Windows Media Player

O Windows Media Player existe em várias versões diferentes.

Aqui, fornecemos diferentes versões de class ID e listas de parâmetros.

Por que o class ID muda?

O class ID para o Windows Media Player 7 e versões mais recentes é:clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6.

Muitos lugares na Internet declaram o class ID como:clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95. Este class ID é uma versão antiga, mas ainda funciona devido à sua compatibilidade retroativa. No entanto, se você usar o class ID antigo, não poderá usar novas funcionalidades adicionadas ao componente.

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

Parâmetros Valor Padrão Descrição
AudioStream true  
AutoSize true  
AutoStart true Define se o player deve começar automaticamente
AnimationAtStart true Define se uma animação deve ser exibida enquanto o arquivo é carregado
AllowScan true  
AllowChangeDisplaySize true  
AutoRewind false  
Balance false  
BaseURL    
BufferingTime 5  
CaptioningID    
ClickToPlay true Define se o player deve começar quando o usuário clicar na área de reprodução
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 Define se os controles do player devem ser exibidos
ShowAudioControls true Define se os controles de áudio devem ser exibidos
ShowDisplay false Define se a exibição deve ser exibida
ShowGotoBar false Define se a barra de navegação deve ser exibida
ShowPositionControls true  
ShowStatusBar false  
ShowTracker true  
TransparantAtStart false  
VideoBorderWidth false  
VideoBorderColor false  
VideoBorder3D false  
Volume -200  
WindowlessVideo false  

Windows Media Player 6 (versões mais antigas)

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

Parâmetros Valor Padrão Descrição
Aparência 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