<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26881</bug_id>
          
          <creation_ts>2014-09-22 09:00:03 +0000</creation_ts>
          <short_desc>Sourcing AudioTrack and VideoTrack attribute values</short_desc>
          <delta_ts>2014-10-12 01:09:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Silvia Pfeiffer">silviapfeiffer1</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>b.lund</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>111906</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-09-22 09:00:03 +0000</bug_when>
    <thetext>https://html.spec.whatwg.org/multipage/embedded-content.html#dom-audiotrack-kind

Sourcing AudioTrack and VideoTrack attribute values (in particular @kind, @id, @label and @language) should reference the &quot;Sourcing In-band Media Resource Tracks from Media Containers into HTML&quot; spec rather than duplicate it:

http://dev.w3.org/html5/html-sourcing-inband-tracks/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112148</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-24 22:30:14 +0000</bug_when>
    <thetext>I don&apos;t understand. What is duplicated?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112349</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-09-28 23:31:55 +0000</bug_when>
    <thetext>Basically, everything that relates to particular file formats, such as Ogg, WebM, MP4, DASH at https://html.spec.whatwg.org/multipage/embedded-content.html#dom-audiotrack-kind .

In particular:

* The following sentence&apos;s meaning is in the sourcing spec:
&quot;For Ogg files, the Role header field of the track gives the relevant metadata.&quot;
see
http://dev.w3.org/html5/html-sourcing-inband-tracks/#ogg point 4, about @kind.

* And continuing:
&quot;For DASH media resources, the Role element conveys the information.&quot;
see
http://dev.w3.org/html5/html-sourcing-inband-tracks/#mpegdash point 4, about @kind.

* And continuing:
&quot;For WebM, only the FlagDefault element currently maps to a value.&quot;
see
http://dev.w3.org/html5/html-sourcing-inband-tracks/#webm point 4, about @kind.

* And then the &quot;Examples&quot; column in the @kind table below.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112395</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-29 16:41:45 +0000</bug_when>
    <thetext>Those are just non-normative helpful hints, just like where the spec says &quot;For example, user agents are required to close all open constructs upon finding the end of a style sheet unexpectedly&quot; or &quot;The HTTP specification requires that 301, 302, and 307 redirects, when applied to methods other than the safe methods, not be followed without user confirmation&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112451</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-09-30 09:27:53 +0000</bug_when>
    <thetext>Despite being non-normative, the level of detail and it being in the HTML spec may make ppl follow it.

Also, the last field in the table is already wrong:
&quot;Any other track type, track role, or combination of track roles not described above.&quot; mapped to &quot;&quot;

For example, Ogg video tracks with role=&quot;captions&quot; should be mapped to &quot;captions&quot; - this is missing from your list and thus would create a mapping to the empty string.

So, that statement may make people think that this is a final and complete list, which it likely will never be.

To be honest, I&apos;d rather there weren&apos;t any mapping examples in that table and the table would just describe the defined categories.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112977</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-10-10 23:47:48 +0000</bug_when>
    <thetext>I&apos;ve removed the example for &quot;&quot; since yeah, that made no sense.

Not having any examples at all though is contrary to the usual feedback I get — people love examples, and generally want more and more.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112995</commentid>
    <comment_count>6</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-10-12 01:09:57 +0000</bug_when>
    <thetext>OK, fair enough.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>