onemptied event
[This documentation is preliminary and is subject to change.]
Occurs when the media element is reset to its initial state.
Syntax
HTML Attribute | <element onemptied = "handler(event)"> |
Event Property | object.onemptied = handler; |
attachEvent Method | object.attachEvent("onemptied", handler) |
addEventListener Method | object.addEventListener("emptied", handler, useCapture) |
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.12
Event information
Synchronous | No |
Bubbles | No |
Cancelable | No |
Event handler parameters
- pEvtObj [in]
Type: IHTMLEventObj
Remarks
When the load method is called, the media element stops any previously running media and resets the element. Playback restarts immediately if the autoplay attribute is specified.
To invoke this event, do one of the following:
- Call the media element's load method.
See also
Reference
Build date: 1/25/2012