``` --- ## Definition and Usage The"> ``` --- ## Definition and Usage The" />
Easy Tutorial
❮ Prop Style Visibility Prop Node Nodename ❯

onsuspend Event

Event Object

Example

Execute JavaScript when the browser halts reading media data:

<video onsuspend="myFunction()">

Definition and Usage

The onsuspend event is triggered when the browser halts reading media data.

Tip: Events that affect media loading include:


Browser Support

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

Event Chrome IE Firefox Safari Opera
onsuspend Yes 9.0 Yes Yes Yes

Syntax

In HTML:

In JavaScript:

In JavaScript, using the addEventListener() method:

Note: Internet Explorer 8 and earlier versions do not support the addEventListener() method.


Bubbles: No
Cancelable: No
--- ---
Event Type: Event
--- ---
Supported HTML Tags: <audio>, <video>
--- ---
❮ Prop Style Visibility Prop Node Nodename ❯