THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML onstalled Attribute


Definition and Usage

The onstalled attribute defines a script to run when the browser is trying to get media data, but data is not available.

Tip: Related events that occurs when there is some kind of disturbance to the media loading process, are:


Applies to

The onstalled attribute is part of the Event Attributes, and can be used on the following elements:

Elements Event
<audio> stalled
<video> stalled

Browser Support

The onstalled attribute has the following browser support for each element:

Element
audio Yes 9.0 Yes Yes Yes
video Yes 9.0 Yes Yes Yes