The mediaBar behavior enables you to programmatically obtain information about the open state of media content and the play state of the player. Developers can write script to handle the onopenstatechange and onplaystatechange events and retrieve the openState and playState properties.
To view the source code, right-click this page and choose View Source from the shortcut menu that appears.
© 2007 Microsoft Corporation. All rights reserved. Terms of use.