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: functionEvent handler object.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.12
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.