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 Explorer 9


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


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