You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Track objects are currently only exposed at the Window level
An issue was open to expose them at the Worker level in #280
As noted in #280
There are unfortunately much more DOM objects that need updating, in particular TextTrackCueList / TextTrackCue ; in TextTrack the method addCue and removeCue which have references on how they are to be rendered on the MediaElement (https://w3c.github.io/webvtt/#rules-for-updating-the-display-of-webvtt-text-tracks) with their respective CSS block boxes etc..
while those examples are in relation to WebVTT, there's nothing preventing the use of WebVTT cues in inbandTextTrack
None of which is applicable with DedicatedWorker
Considering there are no User Agent other than webkit implementing Tracks objects in the SourceBuffer when in a DedicatedWorker
We think that those objects shouldn't be exposed in a Worker as they wouldn't be usable anyway.
The text was updated successfully, but these errors were encountered:
A SourceBuffer exposes all its tracks related objects in a Worker
https://w3c.github.io/media-source/#webidl-544711679
readonly attribute AudioTrackList audioTracks;
readonly attribute VideoTrackList videoTracks;
readonly attribute TextTrackList textTracks;
Track objects are currently only exposed at the Window level
An issue was open to expose them at the Worker level in #280
As noted in #280
There are unfortunately much more DOM objects that need updating, in particular TextTrackCueList / TextTrackCue ; in TextTrack the method addCue and removeCue which have references on how they are to be rendered on the MediaElement (https://w3c.github.io/webvtt/#rules-for-updating-the-display-of-webvtt-text-tracks) with their respective CSS block boxes etc..
while those examples are in relation to WebVTT, there's nothing preventing the use of WebVTT cues in inbandTextTrack
None of which is applicable with DedicatedWorker
Considering there are no User Agent other than webkit implementing Tracks objects in the SourceBuffer when in a DedicatedWorker
We think that those objects shouldn't be exposed in a Worker as they wouldn't be usable anyway.
The text was updated successfully, but these errors were encountered: