Advertisement
Home Open Editor ❯

HTML onstalled Attribute

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">


Applies to:

The onstalled attribute can be used on the following element:

Element Attribute
<audio> stalled
<video> stalled

Advertisement

Attribute Values

Value Description
script Specifies a script that run when the media is stalled.
Home Open Editor ❯
Advertisement