- From: Nigel Megitt via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 May 2019 08:30:50 +0000
- To: public-web-and-tv@w3.org
If I've understood the active cue list correctly, whenever the event loop runs, any cue that has the same start and end time and that time is between the previous time the event loop ran and the current time (where time is playback position), will be added to the missed cues list and its `onenter` and `onexit` events will be fired _before_ the `cuechange` event on the text track. This is defined in https://html.spec.whatwg.org/multipage/media.html#time-marches-on Additionally, I don't expect that any UA would run the event loop between that cue's `onenter` and `onexit` handlers so there's no opportunity for step 17 to capture such a cue in _current cues_ and set its active flag. This is _why_ the cue is not in the active cues list, but doesn't explain if it's a good idea or not. I think it's probably unwise, in the event handlers of a cue C, to exclude C itself from the list of cues that are probably active, even if the text track active cue list does not include it. It's also unwise to use the Text Track's `cuechange` event to try to spot all events passing by. @mavgit Is there a particular use case for wanting to see these cues in the active cue list at some particular playback time? -- GitHub Notification of comment by nigelmegitt Please view or discuss this issue at https://github.com/w3c/me-media-timed-events/issues/41#issuecomment-488235027 using your GitHub account
Received on Wednesday, 1 May 2019 08:30:51 UTC