Latest web development tutorials

onwaiting event

Event Object Reference Event objects

Examples

JavaScript is executed when the video due to play the next frame buffer is required:

<Video onwaiting = "myFunction ()">

try it"


Definition and Usage

onwaiting event is triggered due to play the next video frame buffer is required.

This event can be used <audio> elements, but it is usually used in the video (<video> element) playback.


Browser Support

Figures in the table represent the first browser to support this version of events.

event
onwaiting Yes 9.0 Yes Yes Yes


grammar

In HTML:

<Elementonwaiting = "myScript"> try

In JavaScript:

object .onwaiting = function () {myScript }; try

JavaScript, use the addEventListener () method:

object .addEventListener ( "waiting", myScript ); try

Note: Internet Explorer 8 and earlier versions of IE do not support addEventListener () method.


technical details
Whether to support the bubble: No
It can be canceled: No
Event Type: Event
Supported HTML tags: <Audio>, <video>


Event Object Reference Event objects