共用方式為


onprogress event

Occurs to indicate progress while downloading media data.

 

Syntax

Event Property object.onprogress = handler;
addEventListener Method object.addEventListener("progress", handler, useCapture)

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

  • handler [in]
    Type: function

    Event handler object.

Standards information

Remarks

This operation occurs while the video is loading.

To invoke this event, do one of the following:

  • Start playing audio or video from a website.