w3pop.com :: ÍøÂçѧԺ :: 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 |
ÆÀÂÛ (0)
All