Closed Bug 891052 Opened 11 years ago Closed 11 years ago

[webvtt] Implement RemoveTextTrack()

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: reyre, Unassigned)

References

(Blocks 1 open bug)

Details

There's currently no way to remove a TextTrack. This is slightly confusing as we support an "onremovetrack" event in the HTML5 track spec.

I've opened a bug to change this potentially https://www.w3.org/Bugs/Public/show_bug.cgi?id=22597

This bug is to add that functionality when and if it is changed in the HTML5 spec.
Blocks: webvtt
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
According to the discussion on the W3C bug this won't be implemented in the near future as it wouldn't be good to be able to remove TextTracks that have been sourced from the media resource or from TrackElement for that matter.

The "onremovetrack" event gets called when a TrackElement is removed from its MediaResource.

There is a possibility for it to be added in the future, but not currently.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.