Sets or retrieves a Boolean value that specifies whether the Media Bar player control is enabled.
dhtml语法
XML | N/A |
---|
Scripting | mediaBar.enabled(bEnable) [ = bEnabled ] |
---|
DHTML可能的值
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