Bug 18865 - <track> specify what happens with cues whose start/end times are outside the video timeline
Summary: <track> specify what happens with cues whose start/end times are outside the ...
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: HTML WG Bugzilla archive list
Depends on:
Reported: 2012-09-13 01:27 UTC by Silvia Pfeiffer
Modified: 2013-05-13 12:32 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Silvia Pfeiffer 2012-09-13 01:27:46 UTC
Sometimes we have a cue on an active track that starts within the video's
timeline, but ends beyond the end of the video (maybe just ms beyond, because
different browsers calculate a video's duration differently or you get rounding
errors). We would like to see the onexit event being fired for such cues.

This opens door to a larger question: what to do with cues that start before
the video starts, but end within it? These should also have onenter events. It
would be nice to be able to deal with such cues, too, since in this way you can
create an explicit order of cues that should be displayed as the video starts,
e.g. if you want to display an ad from one track before you display a caption
and render it in the remaining space.

[ Duplicated as WHATWG spec bug at https://www.w3.org/Bugs/Public/show_bug.cgi?id=18864 ]
Comment 1 Erika Doyle Navara 2013-01-07 19:23:04 UTC
Sylvia is handling track element bugs.
Comment 2 Silvia Pfeiffer 2013-05-13 12:32:41 UTC
You can register an onended event on the video to catch such anomalities.

I'm ok with the resolution of the copied bug in the WHATWG.