Compartilhar via


SETTINGS Element

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The SETTINGS element enables the following attributes of the Settings object to be specified within a skin.

Attribute 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 start 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.

 

Settings Object

Skin Programming Reference