Windows Media Player Properties
A version of this page is also available for
4/8/2010
Windows Media Player provides a number of properties for use in monitoring and altering the state of the Player.
Following is a list of the properties exposed by the Windows Media Player.
Properties not supported are not listed. Unsupported properties can be accessed, but their values are not meaningful, and manipulating them will have no effect.
Property | Access | Description |
---|---|---|
Read/Write |
Sets or retrieves a value specifying whether the display size can be changed. |
|
Read/Write |
Indicates whether the user can hide the control panel at run time. |
|
Read/Write |
Sets or retrieves a value specifying whether scanning is enabled for files that support scanning (fast-forwarding and rewinding). |
|
Read/Write |
Sets or retrieves a value specifying the stream number of the current audio stream. |
|
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. |
|
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. |
|
Read/Write |
Sets or retrieves a value specifying whether to start playing the clip automatically. |
|
Read/Write |
Sets or retrieves a value indicating the stereo balance. |
|
Read-only |
Retrieves the bandwidth of the current clip in bits per second. |
|
Read-only |
Retrieves a value specifying the base URL. |
|
Read-only |
Retrieves a value specifying the number of times buffering occurred during playback of a clip. |
|
Read-only |
Retrieves a value specifying the percentage of buffering completed. |
|
Read-only |
Retrieves the buffering time, which is the time allocated for buffering incoming data before playback begins. |
|
Read-only |
Retrieves a value specifying whether the current file supports scanning. |
|
Read-only |
Retrieves a value specifying whether the current file has the ability to seek to a specific time. |
|
Read-only |
Retrieves a value specifying whether markers in the file can be located with a seek operation. |
|
Read-only |
Retrieves a value representing the station description. |
|
Read-only |
Retrieves a value representing the station name. |
|
Read-only |
Retrieves a value representing the URL of the station metafile. |
|
Read/Write |
Sets or retrieves a value specifying whether the user can toggle playback by clicking the video image. |
|
Read-only |
Retrieves the number of installable codecs used by the current clip. |
|
Read-only |
Retrieves a value representing the station's contact address. |
|
Read-only |
Retrieves a value representing the station's e-mail address. |
|
Read-only |
Retrieves a value representing the station's contact telephone number. |
|
Read-only |
Retrieves a value specifying the date and time when the clip was created. |
|
Read/Write |
Sets or retrieves a value indicating the current marker number. |
|
Read/Write |
Sets or retrieves a value representing the clip's current position, in seconds. |
|
Read-only |
Specifies the playback file's current state: stopped, paused, or running. |
|
Read/Write |
Sets or retrieves a value representing the default target HTTP frame. |
|
Read/Write |
Sets or retrieves a value specifying the display panel's background color. |
|
Read/Write |
Sets or retrieves a value specifying the display panel's foreground color. |
|
Read/Write |
Sets or retrieves a value specifying the size of the image display window. |
|
Read-only |
Retrieves a value indicating the clip's playing time in seconds. |
|
Read/Write |
Sets or retrieves a value specifying whether the Windows Media Player control is enabled. |
|
Read/Write |
Sets or retrieves a value specifying whether the position controls are enabled on the control bar. |
|
Read/Write |
Sets or retrieves a value specifying whether the trackbar control is enabled. |
|
Read-only |
Returns the number of entries contained in the current Advanced Stream Redirector (ASX) file. |
|
Read-only |
Retrieves a value specifying the current error code. |
|
Read-only |
Retrieves a value specifying the error correction type of the current clip. |
|
Read-only |
Retrieves a value specifying the description of the current error state. |
|
Read/Write |
Sets or retrieves a value specifying the name of the clip to play. |
|
Read/Write |
Expands the area of the playback panel to fill the entire screen. |
|
Read-only |
Retrieves a URL to additional information about the presentation. |
|
Read-only |
Retrieves a value specifying whether the Windows Media Player control currently has an error. |
|
Read-only |
Retrieves a value specifying whether the current clip contains multiple items (playlists). |
|
Read-only |
Retrieves a value specifying the original image height of the current clip, in pixels. |
|
Read-only |
Retrieves a value specifying the original image width of the current clip, in pixels. |
|
Read/Write |
Sets or retrieves a value specifying whether the Windows Media Player control automatically invokes URLs in a browser (URL flipping). |
|
Read-only |
Retrieves a value specifying whether the source is broadcast. |
|
Read-only |
Retrieves a value specifying whether the value of the Duration property is valid. |
|
Read/Write |
Sets or retrieves a value specifying the current locale used for national language support. |
|
Read-only |
Retrieves a value specifying the number of packets lost during transmission of the stream. |
|
Read-only |
Retrieves a value specifying the number of markers in the current clip. |
|
Read/Write |
Specifies the size of the playback panel. |
|
Read/Write |
Sets or retrieves a value indicating the current mute state of the Windows Media Player control. |
|
Read-only |
Retrieves a value indicating the state of the content source. |
|
Read/Write |
Sets or retrieves a value indicating the number of times a clip plays. |
|
Read-only |
Retrieves a value indicating the state of the Windows Media Player operation. |
|
Read/Write |
Sets or retrieves a value specifying the clip's playback rate. |
|
Read-only |
Retrieves a value specifying the state of readiness of the Windows Media Player control. |
|
Read-only |
Retrieves a value specifying the number of packets received. |
|
Read-only |
Retrieves a value specifying the percentage of packets received in the last 30 seconds. |
|
Read-only |
Retrieves a value specifying the number of packets recovered. |
|
Read/Write |
Sets or retrieves a value specifying the time when playback of the current clip will stop. |
|
Read/Write |
Sets or retrieves a value specifying where playback of the current clip will begin. |
|
Read/Write |
Sets or retrieves a value specifying whether the Windows Media Player control sends error events. |
|
Read/Write |
Sets or retrieves a value specifying whether the Windows Media Player control sends keyboard events. |
|
Read/Write |
Sets or retrieves a value specifying whether the Windows Media Player control sends mouse click events. |
|
Read/Write |
Sets or retrieves a value specifying whether the Windows Media Player control sends mouse move events. |
|
Read/Write |
Sets or retrieves a value specifying whether the Windows Media Player control sends open state change events. |
|
Read/Write |
Sets or retrieves a value specifying whether the Windows Media Player control sends play state change events. |
|
Read/Write |
Sets or retrieves a value specifying whether the audio controls appear on the control bar. |
|
Read/Write |
Sets or retrieves a value specifying whether the control bar is visible. |
|
Read/Write |
Sets or retrieves a value specifying whether the control bar is visible. |
|
Read/Write |
Sets or retrieves a value specifying whether the status bar is visible. |
|
Read/Write |
Sets or retrieves a value specifying whether the trackbar is visible. |
|
Read-only |
Retrieves a value specifying the path to the current clip. |
|
Read-only |
Retrieves a value specifying the protocol used to receive data. |
|
Read-only |
Retrieves a value indicating the number of media streams in the current clip. |
|
Read/Write |
Sets or retrieves a value specifying whether the Windows Media Player control is transparent before play begins. |
|
Read/Write |
Sets or retrieves a value specifying whether the three-dimensional video border effect is enabled. |
|
Read/Write |
Sets or retrieves a value specifying the color of the video border. |
|
Read/Write |
Sets or retrieves a value specifying the width of the video border, in pixels. |
|
Read/Write |
Sets or retrieves a value specifying the volume, in hundredths of decibels. |