Easy Tutorial
❮ Att Form Method Tag Dd ❯

HTML Audio/Video DOM abort Event

HTML Audio/Video DOM Reference

Example

Popup message when the video loading is aborted:


Definition and Usage

The abort event is triggered when the loading of audio/video is terminated.

This event is fired when the multimedia data download is aborted, not when an error occurs.

Tip: Events that affect the loading of multimedia data include:


Browser Support

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

Event
abort Yes 9.0 Yes Yes Yes

Note: The abort event is not supported in Internet Explorer 11 on Windows 7.


Syntax

In HTML:

In JavaScript:

In JavaScript, using the addEventListener() method:

Note: The addEventListener() method is not supported in Internet Explorer 8 and earlier versions.


Supported HTML Tags: <audio> and <video>
Supported JavaScript Objects: Audio, Video
--- ---

❮ Att Form Method Tag Dd ❯