This topic documents a feature that is obsolete as of Windows Internet Explorer 7.
Obsolete. Retrieves an integer that indicates the open state of the Media Bar player.
XML N/A Scripting [ pos = ] mediaBar.openState
pos Integer that receives the open state of the player. Can have one of the following possible values.
- The player is about to load a new playlist.
- The player is locating the playlist.
- The player is connecting to the server that holds a playlist.
- The player is loading a playlist.
- The player is opening a playlist.
- The player's playlist is open.
- The player's playlist has changed.
- The player is about to load new media.
- The player is locating the media file.
- The player is connecting to the server holding the media file.
- The player is loading a media file.
- The player is opening a media file.
- The media file is open.
- The player is starting codec acquisition.
- The player is ending codec acquisition.
- The player is starting license acquisition.
- The player is ending license acquisition.
- The player is starting individualization.
- The player is ending individualization.
- The player is waiting for media.
- The player is opening a URL whose type is not known.
The property is read-only. The property has no default value.
As of Microsoft Internet Explorer 6 on Windows XP Service Pack 2 (SP2) or Internet Explorer 7, the mediaBar feature is obsolete and no longer available.
openState was introduced in Internet Explorer 6.
Developers should keep in mind that openState and playState return integers, without descriptive information about the state.
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. The Media Bar openState and playState properties, in fact, are passed to the behavior from corresponding Windows Media Player properties for Windows Media Player 7 and Windows Media Player 8. Later versions of the Windows Media Player might provide a richer set of values for openState and playState. For more information about the Windows Media Player object model, see the Player object reference and the Windows Media Player SDK.
For an example of scripting with the openState and playState properties, see the onopenstatechange and onplaystatechange events.