HTML onpause Attribute
Example
<video onpause="myFunction()">
Meaning
The pause event run when the audio/video has been paused.
Standard Syntax
<element onpause="script">
Browser Support
Status
Applies to:
The onpause attribute can be used on the following element:
Attribute Values
Value | Description |
---|---|
script | Specifies a script that run when the media is paused. |