HTML onsuspend Attribute
Example
<video onsuspend="myFunction">
Meaning
The suspend event run when the browser is intentionally not getting media data.
Standard Syntax
<element onsuspend="script">
Applies to:
The onsuspend attribute can be used on the following element:
Advertisement
Attribute Values
| Value | Description |
|---|---|
| script | Specifies a script that run when the media is suspend. |