Skip to content

Commit

Permalink
[giow] (0) Expose a combined .played on MediaController
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@6019 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 20, 2011
1 parent ef33ada commit f56567d
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
19 changes: 19 additions & 0 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -28937,6 +28937,7 @@ <h6 id=media-controllers><span class=secno>4.8.10.11.2 </span>Media controllers<
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>();

Expand Down Expand Up @@ -29037,6 +29038,16 @@ <h6 id=media-controllers><span class=secno>4.8.10.11.2 </span>Media controllers<

</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>
Expand Down Expand Up @@ -29197,6 +29208,14 @@ <h6 id=media-controllers><span class=secno>4.8.10.11.2 </span>Media controllers<
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
Expand Down
19 changes: 19 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -28949,6 +28949,7 @@ interface <dfn id=mediacontroller>MediaController</dfn> {
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>();

Expand Down Expand Up @@ -29049,6 +29050,16 @@ interface <dfn id=mediacontroller>MediaController</dfn> {

</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>
Expand Down Expand Up @@ -29209,6 +29220,14 @@ interface <dfn id=mediacontroller>MediaController</dfn> {
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
Expand Down
20 changes: 20 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -31547,6 +31547,7 @@ interface <dfn>MediaController</dfn> {
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>();

Expand Down Expand Up @@ -31651,6 +31652,16 @@ interface <dfn>MediaController</dfn> {

</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>
Expand Down Expand Up @@ -31833,6 +31844,15 @@ interface <dfn>MediaController</dfn> {
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
Expand Down

0 comments on commit f56567d

Please sign in to comment.