onpause event

[This documentation is preliminary and is subject to change.]

Occurs when playback is paused.

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

Syntax

HTML Attribute <element onpause = "handler(event)">
Event Property object.onpause = handler;
attachEvent Method object.attachEvent("onpause", handler)
addEventListener Method object.addEventListener("pause", handler, useCapture)

Standards information

Event information

Synchronous No
Bubbles No
Cancelable No

Event handler parameters

Remarks

To invoke this event, do one of the following:

  • Call the pause method.
  • Click the pause button on the embedded media controls.

 

 

Build date: 1/25/2012