共用方式為


onwaiting event

Occurs when playback stops because the next frame of a video resource is not available.

 

Syntax

Event Property object.onwaiting = handler;
addEventListener Method object.addEventListener("waiting", handler, useCapture)

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

  • handler [in]
    Type: function

    Event handler object.

Standards information

Remarks

To invoke this event, do one of the following:

  • Set current playback position outside of the buffered range.

See also

onstalled