Latest web development tutorials

onstalled event

Event Object Reference Event objects

Examples

In the browser tries to obtain media data and the data can not be executed when using JavaScript:

<Video onstalled = "myFunction ()">



Definition and Usage

onstalled event gets media data in the browser, but the media data is not available when triggered.

Tip: loaded media impact of the event are:


Browser Support

Figures in the table represent the first browser to support this version of events.

event
onstalled Yes 9.0 Yes Yes Yes


grammar

In HTML:

<Elementonstalled = "myScript">

In JavaScript:

object .onstalled = function () {myScript };

JavaScript, use the addEventListener () method:

object .addEventListener ( "stalled", myScript );

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


technical details
Whether to support the bubble: No
It can be canceled: No
Event Type: Event
Supported HTML tags: <Audio>, <video>


Event Object Reference Event objects