[html5] r6019 - [giow] (0) Expose a combined .played on MediaController

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 19 17:50:58 PDT 2011


Author: ianh
Date: 2011-04-19 17:50:57 -0700 (Tue, 19 Apr 2011)
New Revision: 6019

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Expose a combined .played on MediaController

Modified: complete.html
===================================================================
--- complete.html	2011-04-20 00:42:09 UTC (rev 6018)
+++ complete.html	2011-04-20 00:50:57 UTC (rev 6019)
@@ -28937,6 +28937,7 @@
            attribute double <a href=#dom-mediacontroller-currenttime title=dom-MediaController-currentTime>currentTime</a>;
 
   readonly attribute boolean <a href=#dom-mediacontroller-paused title=dom-MediaController-paused>paused</a>;
+  readonly attribute <a href=#timeranges>TimeRanges</a> <a href=#dom-mediacontroller-played title=dom-MediaController-played>played</a>;
   void <a href=#dom-mediacontroller-play title=dom-MediaController-play>play</a>();
   void <a href=#dom-mediacontroller-pause title=dom-MediaController-pause>pause</a>();
 
@@ -29037,6 +29038,16 @@
 
    </dd>
 
+   <dt><var title="">controller</var> . <code title=dom-MediaController-played><a href=#dom-mediacontroller-played>played</a></code></dt>
+
+   <dd>
+
+    <p>Returns a <code><a href=#timeranges>TimeRanges</a></code> object that represents the
+    union of the time ranges in all the slaved <a href=#media-element title="media
+    element">media elements</a> that have been played.</p>
+
+   </dd>
+
    <dt><var title="">controller</var> . <code title=dom-MediaController-play><a href=#dom-mediacontroller-play>play</a></code>()</dt>
 
    <dd>
@@ -29197,6 +29208,14 @@
   object is a <a href=#paused-media-controller>paused media controller</a>, and false
   otherwise.</p>
 
+  <p>The <dfn id=dom-mediacontroller-played title=dom-MediaController-played><code>played</code></dfn>
+  attribute must return a new static <a href=#normalized-timeranges-object>normalized
+  <code>TimeRanges</code> object</a> that represents the union of
+  the ranges of the <a href=#media-resource title="media resource">media
+  resources</a> of the <a href=#slaved-media-elements>slaved media elements</a> that the
+  user agent has so far rendered, at the time the attribute is
+  evaluated.</p>
+
   <p>When the <dfn id=dom-mediacontroller-pause title=dom-MediaController-pause><code>pause()</code></dfn> method
   is invoked, if the <code><a href=#mediacontroller>MediaController</a></code> is a <a href=#playing-media-controller>playing
   media controller</a> then the user agent must change the

Modified: index
===================================================================
--- index	2011-04-20 00:42:09 UTC (rev 6018)
+++ index	2011-04-20 00:50:57 UTC (rev 6019)
@@ -28949,6 +28949,7 @@
            attribute double <a href=#dom-mediacontroller-currenttime title=dom-MediaController-currentTime>currentTime</a>;
 
   readonly attribute boolean <a href=#dom-mediacontroller-paused title=dom-MediaController-paused>paused</a>;
+  readonly attribute <a href=#timeranges>TimeRanges</a> <a href=#dom-mediacontroller-played title=dom-MediaController-played>played</a>;
   void <a href=#dom-mediacontroller-play title=dom-MediaController-play>play</a>();
   void <a href=#dom-mediacontroller-pause title=dom-MediaController-pause>pause</a>();
 
@@ -29049,6 +29050,16 @@
 
    </dd>
 
+   <dt><var title="">controller</var> . <code title=dom-MediaController-played><a href=#dom-mediacontroller-played>played</a></code></dt>
+
+   <dd>
+
+    <p>Returns a <code><a href=#timeranges>TimeRanges</a></code> object that represents the
+    union of the time ranges in all the slaved <a href=#media-element title="media
+    element">media elements</a> that have been played.</p>
+
+   </dd>
+
    <dt><var title="">controller</var> . <code title=dom-MediaController-play><a href=#dom-mediacontroller-play>play</a></code>()</dt>
 
    <dd>
@@ -29209,6 +29220,14 @@
   object is a <a href=#paused-media-controller>paused media controller</a>, and false
   otherwise.</p>
 
+  <p>The <dfn id=dom-mediacontroller-played title=dom-MediaController-played><code>played</code></dfn>
+  attribute must return a new static <a href=#normalized-timeranges-object>normalized
+  <code>TimeRanges</code> object</a> that represents the union of
+  the ranges of the <a href=#media-resource title="media resource">media
+  resources</a> of the <a href=#slaved-media-elements>slaved media elements</a> that the
+  user agent has so far rendered, at the time the attribute is
+  evaluated.</p>
+
   <p>When the <dfn id=dom-mediacontroller-pause title=dom-MediaController-pause><code>pause()</code></dfn> method
   is invoked, if the <code><a href=#mediacontroller>MediaController</a></code> is a <a href=#playing-media-controller>playing
   media controller</a> then the user agent must change the

Modified: source
===================================================================
--- source	2011-04-20 00:42:09 UTC (rev 6018)
+++ source	2011-04-20 00:50:57 UTC (rev 6019)
@@ -31547,6 +31547,7 @@
            attribute double <span title="dom-MediaController-currentTime">currentTime</span>;
 
   readonly attribute boolean <span title="dom-MediaController-paused">paused</span>;
+  readonly attribute <span>TimeRanges</span> <span title="dom-MediaController-played">played</span>;
   void <span title="dom-MediaController-play">play</span>();
   void <span title="dom-MediaController-pause">pause</span>();
 
@@ -31651,6 +31652,16 @@
 
    </dd>
 
+   <dt><var title="">controller</var> . <code title="dom-MediaController-played">played</code></dt>
+
+   <dd>
+
+    <p>Returns a <code>TimeRanges</code> object that represents the
+    union of the time ranges in all the slaved <span title="media
+    element">media elements</span> that have been played.</p>
+
+   </dd>
+
    <dt><var title="">controller</var> . <code title="dom-MediaController-play">play</code>()</dt>
 
    <dd>
@@ -31833,6 +31844,15 @@
   object is a <span>paused media controller</span>, and false
   otherwise.</p>
 
+  <p>The <dfn
+  title="dom-MediaController-played"><code>played</code></dfn>
+  attribute must return a new static <span>normalized
+  <code>TimeRanges</code> object</span> that represents the union of
+  the ranges of the <span title="media resource">media
+  resources</span> of the <span>slaved media elements</span> that the
+  user agent has so far rendered, at the time the attribute is
+  evaluated.</p>
+
   <p>When the <dfn
   title="dom-MediaController-pause"><code>pause()</code></dfn> method
   is invoked, if the <code>MediaController</code> is a <span>playing




More information about the Commit-Watchers mailing list