HTML onstalled Attribute

❮ HTML Attributes


<video onstalled="myFunction">


The stalled event run when the browser is trying to get media data, but data is not available.

Standard Syntax

<element onstalled="script">

Browser Support


Applies to:

The onstalled attribute can be used on the following element:

Element Attribute
<audio> stalled
<video> stalled

Attribute Values

Value Description
script Specifies a script that run when the media is stalled.
❮ HTML Attributes