HTML onwaiting Attribute
Definition and Usage
The onwaiting attribute defines a script to run when the video stops because it needs to buffer the next frame.
This event can also be used on <audio> elements, but it is mostly used for videos.
The onwaiting attribute is part of the Event Attributes, and can be used on the following elements:
Run "myFunction" when the audio needs to buffer:
Run "myFunction" when the video needs to buffer:
onwaiting attribute has the following browser support for each element: