Bug 218567 - Add support for unbounded TextTrackCue endTime
Summary: Add support for unbounded TextTrackCue endTime
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL: http://wpt.live/webvtt/api/VTTCue/con...
Keywords: InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2020-11-04 08:00 PST by Rob Smith
Modified: 2023-08-17 16:46 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Smith 2020-11-04 08:00:39 PST
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
Comment 1 Radar WebKit Bug Importer 2020-11-04 10:46:59 PST
<rdar://problem/71042767>
Comment 2 Rob Smith 2021-04-20 05:04:53 PDT
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.
Comment 3 Rob Smith 2021-04-21 06:01:59 PDT
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
Comment 4 Rob Smith 2021-04-30 05:19:57 PDT
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.