More "Try it Yourself" examples below.
Definition and Usage
The onplay event occurs when the audio/video has been started or is no longer paused.
Tip: The onpause event
occurs when the audio/video has been paused.
The numbers in the table specify the first browser version that fully supports the event.
|Supported HTML tags:||<audio> and <video>|
|DOM Version:||Level 3 Events|