onsuspend event
JavaScript is performed when the browser reads media data aborted:
Definitions and usages
The onsuspend event is triggered when the browser reads the media data aborted.
Tip: Events that affect media loading are:
Browser support
The numbers in the table support the version number of the first browser for the event.
Event | |||||
---|---|---|---|---|---|
onsuspend | Yes | 9.0 | Yes | Yes | Yes |
Grammar
In HTML:
In JavaScript:
In JavaScript, use the addEventListener() method:
Note: The addEventListener() method is not supported in Internet Explorer 8 and earlier versions of IE.
Technical details
Whether to support bubbling: | No |
---|---|
Can I cancel: | No |
Types of events: | Event |
Supported HTML tags: | <audio>, <video> |
The event object