Compartilhar via


onstalled event

Occurs when the download has stopped.

 

Syntax

Event Property object.onstalled = handler;
addEventListener Method object.addEventListener("stalled", handler, useCapture)

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

  • handler [in]
    Type: function

    Event handler object.

Standards information

Remarks

This event occurs if three seconds have passed since the last packet was downloaded.

To invoke this event, do one of the following:

  • Disconnect the network while the media resource is downloading.

See also

onwaiting