HBCMS更多的中文手册参考:

enabled Property

DHTML文档教程

Sets or retrieves a Boolean value that specifies whether the Media Bar player control is enabled.

dhtml语法

XMLN/A
ScriptingmediaBar.enabled(bEnable) [ = bEnabled ]

DHTML可能的值

bEnabledBoolean that specifies or receives a variable that indicates whether the control is enabled.
falseThe control is not enabled.
trueDefault. 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