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


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.