Bug 218567
| Summary: | Add support for unbounded TextTrackCue endTime | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Rob Smith <rob.smith> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Enhancement | CC: | ahmad.saleem792, chris.needham, eric.carlson, jer.noble, smoley, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar, WPTImpact |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://wpt.live/webvtt/api/VTTCue/constructor.html | ||
Rob Smith
It is proposed that a TextTrackCue.endTime value of Infinity be used to represent an unbounded time, i.e. an unspecified future time. This is a simple extension of the existing HTML standard where media.duration = Infinity represents the duration of an unbounded stream, which is consistent with the definition of unbounded time.
Further details at: https://github.com/whatwg/html/pull/5953
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/71042767>
Rob Smith
Update: The following Pull Requests are now ready and should be merged soon.
TextTrackCue.endTime: https://github.com/whatwg/html/pull/5953
VTTCue constructor: https://github.com/w3c/webvtt/pull/493
Web Platform Tests: https://github.com/web-platform-tests/wpt/pull/28394
Please let me know if you have any questions.
Rob Smith
Update: https://github.com/whatwg/html/pull/5953 and https://github.com/web-platform-tests/wpt/pull/28394 have been merged.
TextTrackCue.endTime now allows unbounded cues in the WHATWG HTML spec: https://html.spec.whatwg.org/multipage/media.html#text-track-cue-end-time
Rob Smith
Update: https://github.com/w3c/webvtt/pull/493 has been merged which enables the tests in https://github.com/web-platform-tests/wpt/pull/28394 and concludes the supporting changes required for https://github.com/whatwg/html/pull/5953.
Ahmad Saleem
Failing following test here:
https://wpt.fyi/results/webvtt/api/VTTCue/constructor.html?label=master&label=experimental&aligned=&q=webvtt%2F