HTML onstalled Attribute

❮ HTML Attributes

Example

<video onstalled="myFunction">

Meaning

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




Status




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