enabled Property | Internet Development Index |
Sets or retrieves a Boolean value that specifies whether the Media Bar player control is enabled.
Syntax
XML N/A Scripting mediaBar.enabled(bEnable) [ = bEnabled ]
Possible Values
bEnabled Boolean that specifies or receives a variable that indicates whether the control is enabled.
false The control is not enabled. true Default. The control is enabled. The property is read/write. The property has a default value of true.
Remarks
Setting this property to false does not change or update the appearance of the player controls. No visual cue appears for the user in the user interface (UI).
Because the mediaBar behavior is an implementation of the Microsoft Windows Media® Player, some Media Bar members are essentially the same as those used by the Windows Media Player 7 and Windows Media Player 8, notably the onopenstatechange and onplaystatechange events and the openState, playState, and enabled properties. For more information about the Windows Media Player object model, see the Player object reference and the Windows Media Player 7.1 SDK.
Applies To
mediaBar