HTML onwaiting Attribute

❮ HTML Attributes

Example

<video onwaiting="myFunction()">

Meaning

The waiting event run when the video stops because it needs to buffer the next frame.




Standard Syntax

<element onwaiting="script">



Browser Support




Status




Applies to:

The onwaiting attribute can be used on the following element:

Element Attribute
<audio> waiting
<video> waiting






Attribute Values

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