Easy Tutorial
❮ Ev Onmouseup Html Httpmethods ❯

HTML Audio/Video DOM playing Event

HTML Audio/Video DOM Reference Manual

Example

Display a message when the video starts playing:

More examples are available at the bottom of this page.


Definition and Usage

The playing event is fired when the audio/video (audio/video) is ready to start after having been paused or stopped for buffering.


Browser Support

The numbers in the table specify the first browser version that fully supports the event.

Event
playing Yes 9.0 Yes Yes Yes

Syntax

In HTML:

In JavaScript:

In JavaScript, using the addEventListener() method:

Note: The addEventListener() method is not supported in Internet Explorer 8 and earlier versions.


Supported HTML Tags: <audio> and <video>
Supported JavaScript Objects: Audio, Video
--- ---

More Examples

Example

Display a message when the audio starts playing:


❮ Ev Onmouseup Html Httpmethods ❯