Contents Index Topic Contents | |
Previous Topic: Scripting Reference Next Topic: AllowChangeDisplaySize |
Windows Media Player Control Properties
Microsoft® Windows Media™ Player control supports the following properties.
Property Access Description AllowChangeDisplaySize Read/
WriteSets or retrieves a value specifying whether the display size can be changed. AllowScan Read/
WriteSets or retrieves a value specifying whether scanning is enabled for files that support scanning (fast-forwarding and rewinding). AnglesAvailable Read-
onlyRetrieves a value specifying the number of available angles. AnimationAtStart Read/
WriteSets or retrieves a value specifying whether animation runs before the first image displays. AudioStream Read/
WriteSets or retrieves a value specifying the stream number of the current audio stream. AudioStreamsAvaliable Read-
onlyRetrieves a value specifying the number of available audio streams. AutoRewind Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control automatically returns to the clip's starting point after the clip finishes playing or has otherwise stopped. AutoSize Read/
WriteSets or retrieves a value indicating whether the Windows Media Player control automatically sizes to the proportions of the original media rendered at the current display size. AutoStart Read/
WriteSets or retrieves a value specifying whether to start playing the clip automatically. Balance Read/
WriteSets or retrieves a value indicating the stereo balance. Bandwidth Read-
onlyRetrieves the bandwidth of the current clip in bits per second. BaseURL Read-
onlyRetrieves a value specifying the base URL. BufferingCount Read-
onlyRetrieves a value specifying the number of times buffering occurred during playback of a clip. BufferingProgress Read-
onlyRetrieves a value specifying the percentage of buffering completed. BufferingTime Read-
onlyRetrieves a value specifying the buffering time in seconds. ButtonsAvailable Read-
onlyRetrieves a value specifying the number of available buttons. CanPreview Read-
onlyRetrieves a value indicating whether the current content contains a playlist that can be previewed. CanScan Read-
onlyRetrieves a value specifying whether the current file supports scanning. CanSeek Read-
onlyRetrieves a value specifying whether the current file has the ability to seek to a specific time. CanSeekToMarkers Read-
onlyRetrieves a value specifying whether markers in the file can be located with a seek operation. CaptioningID Read-
onlyRetrieves a value representing the name of the frame or control that displays captioning. CCActive Read/
WriteSets or retrieves a value specifying the closed captioning service state (on or off). ChannelDescription Read-
onlyRetrieves a value representing the station description. ChannelName Read-
onlyRetrieves a value representing the station name. ChannelURL Read-
onlyRetrieves a value representing the URL of the station metafile. ClickToPlay Read/
WriteSets or retrieves a value specifying whether the user can toggle playback by clicking the video image. ClientID Read-
onlyRetrieves a value indicating the unique ID of a client. CodecCount Read-
onlyRetrieves a value specifying the number of installable codecs used by the current clip. ColorKey Read/
WriteSets or retrieves the color key being used by the DVD playback. ConnectionSpeed Read-
onlyRetrieves a value specifying the bandwidth selected during setup. ContactAddress Read-
onlyRetrieves a value representing the station's contact address. ContactEmail Read-
onlyRetrieves a value representing the station's e-mail address. ContactPhone Read-
onlyRetrieves a value representing the station's contact telephone number. CreationDate Read-
onlyRetrieves a value specifying the date and time when the clip was created. CurrentAngle Read/
WriteRetrieves a value specifying the date and time when the clip was created. CurrentAudioStream Read/
WriteSets or retrieves a value specifying the current audio stream. CurrentButton Read-
onlyRetrieves a value specifying the number of the current button. CurrentCCService Read/
WriteSets or retrieves a value specifying the current closed captioning service. CurrentChapter Read-
onlyRetrieves a value specifying the chapter number currently being played. CurrentDiscSide Read-
onlyRetrieves a value specifying the current disc side. CurrentDomain Read-
onlyRetrieves a value specifying the current DVD domain of the DVD player. CurrentMarker Read/
WriteSets or retrieves a value indicating the current marker number. CurrentPosition Read/
WriteSets or retrieves a value representing the clip's current position, in seconds. CurrentSubpictureStream Read/
WriteSets or retrieves a value specifying the source of the subpicture. CurrentTime Read-
onlyRetrieves a value specifying the current playback time. CurrentTitle Read-
onlyRetrieves a value specifying the title number currently being played. CurrentVolume Read-
onlyRetrieves a value specifying the volume number for the current root directory. CursorType Read/
WriteSets or retrieves a value specifying the cursor type. DefaultFrame Read/
WriteSets or retrieves a value representing the default target HTTP frame. DisplayBackColor Read/
WriteSets or retrieves a value specifying the display panel's background color. DisplayForeColor Read/
WriteSets or retrieves a value specifying the display panel's foreground color. DisplayMode Read/
WriteSets or retrieves a value specifying whether the status bar displays the current position in seconds or frames. DisplaySize Read/
WriteSets or retrieves a value specifying the size of the image display window. Duration Read-
onlyRetrieves a value indicating the clip's playing time in seconds. DVD Read-
onlyRetrieves the Windows Media Player control DVD interface. EnableContextMenu Read/
WriteSets or retrieves a value specifying whether the context menu appears when the user clicks the right mouse button. Enabled Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control is enabled. EnableFullScreenControls Read/
WriteSets or retrieves a value indicating whether the Windows Media Player displays controls in full-screen mode. EnablePositionControls Read/
WriteSets or retrieves a value specifying whether the position controls are enabled on the control bar. EnableTracker Read/
WriteSets or retrieves a value specifying whether the trackbar control is enabled. EntryCount Read-
onlyReturns the number of entries contained in the current Advanced Stream Redirector (ASX) file. ErrorCode Read-
onlyRetrieves a value specifying the current error code. ErrorCorrection Read-
onlyRetrieves a value specifying the error correction type of the current clip. ErrorDescription Read-
onlyRetrieves a value specifying the description of the current error state. FileName Read/
WriteSets or retrieves a value specifying the name of the clip to play. FramesPerSecond Read-
onlyRetrieves a value specifying the number of frames per second used by the DVD title. HasError Read-
onlyRetrieves a value specifying whether the Windows Media Player control currently has an error. HasMultipleItems Read-
onlyRetrieves a value specifying whether the current clip contains multiple items (playlists). ImageSourceHeight Read-
onlyRetrieves a value specifying the original image height of the current clip, in pixels. ImageSourceWidth Read-
onlyRetrieves a value specifying the original image width of the current clip, in pixels. InvokeURLs Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control automatically invokes URLs in a browser (URL flipping). IsBroadcast Read-
onlyRetrieves a value specifying whether the source is broadcast. IsDurationValid Read-
onlyRetrieves a value specifying whether the value of the Duration property is valid. Language Read/
WriteSets or retrieves a value specifying the current locale used for national language support. LostPackets Read-
onlyRetrieves a value specifying the number of packets lost during transmission of the stream. MarkerCount Read-
onlyRetrieves a value specifying the number of markers in the current clip. Mute Read/
WriteSets or retrieves a value indicating the current mute state of the Windows Media Player control. OpenState Read-
onlyRetrieves a value indicating the state of the content source. PlayCount Read/
WriteSets or retrieves a value indicating the number of times a clip plays. PlayState Read-
onlyRetrieves a value indicating the state of the Windows Media Player operation. PreviewMode Read/
WriteSets or retrieves a value specifying whether the Windows Media Player is in preview mode. Rate Read/
WriteSets or retrieves a value specifying the clip's playback rate. ReadyState Read-
onlyRetrieves a value specifying the state of readiness of the Windows Media Player control. ReceivedPackets Read-
onlyRetrieves a value specifying the number of packets received. ReceptionQuality Read-
onlyRetrieves a value specifying the percentage of packets received in the last 30 seconds. RecoveredPackets Read-
onlyRetrieves a value specifying the number of packets recovered. Root Read/
WriteSets or retrieves a value specifying the directory that contains the DVD volume. SAMIFileName Read/
WriteSets or retrieves a value specifying the file that contains the information needed for closed captioning. SAMILang Read/
WriteSets or retrieves a value specifying the language displayed for closed captioning. SAMIStyle Read/
WriteSets or retrieves a value representing the closed captioning style. SelectionEnd Read/
WriteSets or retrieves a value specifying the time when playback of the current clip will stop. SelectionStart Read/
WriteSets or retrieves a value specifying where playback of the current clip will begin. SendErrorEvents Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control sends error events. SendKeyboardEvents Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control sends keyboard events. SendMouseClickEvents Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control sends mouse click events. SendMouseMoveEvents Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control sends mouse move events. SendOpenStateChangeEvents Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control sends open state change events. SendPlayStateChangeEvents Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control sends play state change events. SendWarningEvents Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control sends warning events. ShowAudioControls Read/
WriteSets or retrieves a value specifying whether the audio controls appear on the control bar. ShowCaptioning Read/
WriteSets or retrieves a value specifying whether the closed caption area is visible and closed captioning is enabled. ShowControls Read/
WriteSets or retrieves a value specifying whether the control bar is visible. ShowDisplay Read/
WriteSets or retrieves a value specifying whether the display panel is visible. ShowGotoBar Read/
WriteSets or retrieves a value specifying whether the Go To bar is visible. ShowPositionControls Read/
WriteSets or retrieves a value specifying whether the position controls appear on the control bar. ShowStatusBar Read/
WriteSets or retrieves a value specifying whether the status bar is visible. ShowTracker Read/
WriteSets or retrieves a value specifying whether the trackbar is visible. SourceLink Read-
onlyRetrieves a value specifying the path to the current clip. SourceProtocol Read-
onlyRetrieves a value specifying the protocol used to receive data. StreamCount Read-
onlyRetrieves a value indicating the number of media streams in the current clip. SubpictureOn Read/
WriteSets or retrieves a value specifying whether the subpicture is displayed. SubpictureStreamsAvailable Read-
onlyRetrieves a value specifying the number of available subpicture streams. TitlesAvailable Read-
onlyRetrieves a value specifying the number of titles available in the current volume. TotalTitleTime Read-
onlyRetrieves a value specifying the total playback time for the current title. TransparentAtStart Read/
WriteSets or retrieves a value specifying whether the Windows Media Player control is transparent before play begins. UniqueID Read-
onlyRetrieves a value specifying the unique identifier associated with the DVD volume. VideoBorder3D Read/
WriteSets or retrieves a value specifying whether or not the three-dimensional video border effect is enabled. VideoBorderColor Read/
WriteSets or retrieves a value specifying the color of the video border. VideoBorderWidth Read/
WriteSets or retrieves a value specifying the width of the video border, in pixels. Volume Read/
WriteSets or retrieves a value specifying the volume, in hundredths of decibels. VolumesAvailable Read-
onlyRetrieves a value specifying the number of volumes in the volume set.
Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.