ISSUE-78: HTML5 stalled and suspend progress events [Progress Events]

ISSUE-78: HTML5 stalled and suspend progress events [Progress Events]

http://www.w3.org/2008/webapps/track/issues/78

Raised by: Philip Jägenstedt
On product: Progress Events

http://www.w3.org/html/wg/html5/#mediaevents

The events in HTML 5 fired for the media elements (<video>+<audio>) are called ProgressEvents and are intended to eventually refer to the Progress Events spec.

Currently the HTML5 draft specifies two events not covered by the Progress Events draft: stalled and suspend

These should be added to the draft, I suggest the following phrasing:

Name / Description / How often? / When?

stalled / The operation is unexpectedly not progressing / zero or more / May be dispatched zero or more times after a loadstart event, before any error, abort or load event is dispatched

suspend / The operation is temporarily suspended / zero or more / May be dispatched zero or more times after a loadstart event, before any error, abort or load event is dispatched

Rationale:

Stalled is used to signal that the download is for some reason not progressing, but the user agent has not yet given up and fired an error event. In HTML5 this happens when no data has been received for approximately 3 seconds.

Suspend is used to signal that the user agent is deliberately pausing the download. In the case of audio/video, the user agent may initially download only a portion of the file and fetch the rest only when/if the user plays the audio/video to a point where it is needed.

Received on Saturday, 25 October 2008 20:45:35 UTC