[Bug 21079] New: addTextTrack() incorrectly assumes WebVTT content type

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21079

            Bug ID: 21079
           Summary: addTextTrack() incorrectly assumes WebVTT content type
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CR HTML5 spec
          Assignee: robin@w3.org
          Reporter: glenn@skynav.com
        QA Contact: public-html-bugzilla@w3.org

Step 5 of the description of addTextTrack() needs to be reformulated in a
manner that is independent of the use of WebVTT.

At present, the following language appears:

"Associate the text track list of cues with the rules for updating the display
of WebVTT text tracks as its rules for updating the text track rendering.
[WEBVTT]"

Since a text track need not make use of WebVTT, this language is overly
constraining, and presumes a specific content format for track data.

In order to resolve, I propose adding a (possibly optional) MIME media type
parameter to addTextTrack() so that the caller can specify the associated
content type semantics. For example, the caller might specify text/vtt if
WebVTT semantics apply to the track, or might specify application/xml+ttml if
TTML semantics apply, etc. Using the specified MIME type, the UA can select the
appropriate set of rules to associate with the text track list of cues.

If this parameter were made optional, then the default value might be specified
as text/vtt.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 22 February 2013 01:11:49 UTC