This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22329 - [MSE] TextTrack attributes settable in conflict with the html spec
Summary: [MSE] TextTrack attributes settable in conflict with the html spec
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Adrian Bateman [MSFT]
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-11 23:02 UTC by Ralph Giles
Modified: 2013-07-02 19:37 UTC (History)
4 users (show)

See Also:


Attachments

Description Ralph Giles 2013-06-11 23:02:51 UTC
"partial interface TextTrack {
  attribute DOMString kind;
  attribute DOMString language;
}"

The TextTrack interface in the html spec has readonly attributes of the same name. I think the idea is to use specific constructors as the only way to pass these in, or have them created by the parser for in-band text tracks and <track> elements.

Do we need this interface? If it's muxed with the parent media element's source stream, the in-band text track support should cover it, and if it's external, the media.AddTextTrack and TextTrack.addCue methods should be sufficient to implement dynamic subtitles with minimal complexity.
Comment 1 Aaron Colwell 2013-06-12 15:24:39 UTC
These attributes were intentionally made writable so that kind and language information that may be in the DASH manifest could be applied to specific tracks. Bug 17006 contains the initial discussion around this. The intent is to allow the application to override the information in the in-band tracks because it may either be wrong for the intended presentation or not even present.
Comment 2 Aaron Colwell 2013-07-02 19:37:00 UTC
Resolving as WONTFIX base on discussion on the last media call (http://www.w3.org/2013/06/25-html-media-minutes.html).

Please reopen with more information if my explanation was unacceptable.