Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Occurs when the audio or video has started playing.
![]() ![]() |
Syntax
Event Property | object.onplaying = handler; |
addEventListener Method | object.addEventListener("playing", handler, useCapture) |
Event information
Synchronous | No |
Bubbles | No |
Cancelable | No |
Event handler parameters
handler [in]
Type: functionEvent handler object.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.12
Remarks
To invoke this event, do one of the following:
- Start playing the media element.
See also
How to use HTML5 to play video files on your webpage
How to use HTML5 to Add an Audio Player to your Webpage