Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

onemptied event

Occurs when the media element is reset to its initial state.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.12Internet Explorer 9

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)

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: Event

Standards information

Remarks

When the IHTMLMediaElement::load method is called, the media element stops any previously running media and resets the element. Playback restarts immediately if the IHTMLMediaElement::autoplay attribute is specified.

To invoke this event, do the following:

See also

Reference
HTMLDocumentEvents4::onabort
IHTMLMediaElement::load

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.