Windows Media Player SDK banner art
PreviousNext

Settings Object

The Settings object provides a way to modify various Media Player settings using the following properties and methods.

The Settings object supports the following properties.

Property Description
autoStart Specifies or retrieves a value indicating whether the current media item begins playing automatically.
balance Specifies or retrieves the current stereo balance.
baseURL Specifies or retrieves the base URL used for relative path resolution.
defaultFrame Specifies or retrieves the name of the frame used to display a URL received in a scriptCommand.
enableErrorDialogs Specifies or retrieves a value indicating whether error dialogs are shown automatically.
invokeURLs Specifies or retrieves a value indicating whether URL events should launch a Web browser.
mute Specifies or retrieves a value indicating whether audio is muted.
playCount Specifies or retrieves the number of times a media item will play.
rate Specifies or retrieves the current playback rate.
volume Specifies or retrieves the current volume.

The Settings object supports the following methods.

Method Description
getMode Determines whether the loop mode or shuffle mode is active.
isAvailable Determines whether a specified type of information is available or a given action can be performed.
setMode Sets the loop mode or shuffle mode to active or inactive.

The Settings object is accessed through the following property.

Object Property
Player settings

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.