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