<?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>12545</bug_id>
          
          <creation_ts>2011-04-23 03:15:32 +0000</creation_ts>
          <short_desc>&lt;video&gt; MEDIA CONTROLLER requires loop attribute for grouped multitrack</short_desc>
          <delta_ts>2013-02-07 18:46:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>9452</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Foliot">jfoliot</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>devarshipant</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>ian</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>rubys</cc>
    
    <cc>silviapfeiffer1</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47623</commentid>
    <comment_count>0</comment_count>
    <who name="John Foliot">jfoliot</who>
    <bug_when>2011-04-23 03:15:32 +0000</bug_when>
    <thetext>The MediaController object currently does not allow for looping of the grouped resource. This is inconsistent with what is possible on individual media elements and also inconsistent with what is possible on in-band multitrack media resources. The same behavior that an in-band multitrack resource exposes on looping needs to also be possible on a grouped multitrack resource.

Therefore, we request addition of a loop IDL attribute on the MediaController object.
When it is set to true, playback on the grouped multitrack must restart after all slave elements have ended.

It is set to true when at least one of the media elements in the group have a loop IDL attribute that is set to true, false otherwise.
Alternatively, it would also be acceptable to set it to true only when all of the media elements in the group have a loop IDL attribute that is set to true, though that seems overly verbose.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47634</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-04-23 09:34:29 +0000</bug_when>
    <thetext>Hate to pull this tired line, but: What&apos;s the use case?

Since it is an IDL attribute that&apos;s being suggested, it requires using scripts. The only benefit over using .onended = function() { this.currentTime=0; } is gapless looping, which seems to really be of rather marginal importance. In short, I don&apos;t think it&apos;s something implementors should be spending time on.

Other than that, what behavior is expected when the resources which loop are not of the same duration? Before looping was removed from the spec, it was to loop each clip over its own duration. This is problematic when seeking if the exact duration (down to the sample) isn&apos;t available before decoding the end of the resource. The duration metadata in the file header isn&apos;t always of sufficient precision.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47751</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-04-27 23:08:48 +0000</bug_when>
    <thetext>The model that I always have towards the Controller is that it should expose the same kind of behaviour that in-band multitrack exposes, too.

So, if a resource (/track) is shorter than that combined timeline, it will only loop (restart) when the end of the combined timeline is reached.

It is indeed a convenience feature over using
.onended = function() { this.currentTime=0; }
and allows having a loop feature on controls, where the controls control the combined resource.

At the same time it also has the side effect that the @loop attribute on the individual elements stops controlling looping of the individual elements and is instead applied to the combined resource, making sure that the timelines stay in sync as though this was in-band multitrack.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47765</commentid>
    <comment_count>3</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-04-28 08:07:10 +0000</bug_when>
    <thetext>Silvia, are you saying that a loop attribute on any of the slave media elements should cause the whole group to loop? In that case no IDL attribute on MediaController is needed, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47766</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-04-28 08:16:39 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Silvia, are you saying that a loop attribute on any of the slave media elements
&gt; should cause the whole group to loop? In that case no IDL attribute on
&gt; MediaController is needed, right?

It would represent the aggregate loop state from the individual slaves, i.e. if one has a @loop attribute or an IDL loop=true, then the aggregate loop state is true.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47770</commentid>
    <comment_count>5</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-04-28 09:14:06 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; Silvia, are you saying that a loop attribute on any of the slave media elements
&gt; &gt; should cause the whole group to loop? In that case no IDL attribute on
&gt; &gt; MediaController is needed, right?
&gt; 
&gt; It would represent the aggregate loop state from the individual slaves, i.e. if
&gt; one has a @loop attribute or an IDL loop=true, then the aggregate loop state is
&gt; true.

Oh, so it&apos;s read-only then?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47771</commentid>
    <comment_count>6</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-04-28 10:39:25 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; (In reply to comment #3)
&gt; &gt; &gt; Silvia, are you saying that a loop attribute on any of the slave media elements
&gt; &gt; &gt; should cause the whole group to loop? In that case no IDL attribute on
&gt; &gt; &gt; MediaController is needed, right?
&gt; &gt; 
&gt; &gt; It would represent the aggregate loop state from the individual slaves, i.e. if
&gt; &gt; one has a @loop attribute or an IDL loop=true, then the aggregate loop state is
&gt; &gt; true.
&gt; 
&gt; Oh, so it&apos;s read-only then?


Yes, read-only also.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47802</commentid>
    <comment_count>7</comment_count>
    <who name="Laura Carlson">laura.lee.carlson</who>
    <bug_when>2011-04-29 12:11:39 +0000</bug_when>
    <thetext>Per Martin Kliehm &quot;although the bug-triage sub-team didn&apos;t decide on these bugs yet, John mentioned in yesterdays teleconference [1] that there are several important multimedia related bugs where he&apos;d like to add the a11ytf keyword. There was approval&quot;. 

[1] http://www.w3.org/2011/04/28-html-a11y-minutes.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49738</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-06-16 21:46:58 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: Not supporting this was intentional: completeness is not a use case, and only makes sense when it would be simpler than the alternative, which is not the case here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52930</commentid>
    <comment_count>9</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:05:25 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>