onplay event
[This documentation is preliminary and is subject to change.]
Occurs when the play method is requested.
Syntax
HTML Attribute | <element onplay = "handler(event)"> |
Event Property | object.onplay = handler; |
attachEvent Method | object.attachEvent("onplay", handler) |
addEventListener Method | object.addEventListener("play", 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
To invoke this event, do one of the following:
- Call the play method.
- Click the play button on the embedded media controls.
See also
Build date: 1/25/2012