Skip to content

Commit

Permalink
[giow] (0) Pause a MediaController if all its slaves are paused, and …
Browse files Browse the repository at this point in the history
…make it so that the UA UI will unpause all the slaves when it unpauses a MediaController that is itself blocked because all its slaves are paused.

git-svn-id: http://svn.whatwg.org/webapps@6024 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 21, 2011
1 parent d9fd04f commit 2116c7e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 12 deletions.
16 changes: 12 additions & 4 deletions complete.html
Expand Up @@ -29476,7 +29476,8 @@ <h6 id=media-controllers><span class=secno>4.8.10.11.2 </span>Media controllers<
media elements</a> are <a href=#blocked-media-element title="blocked media
element">blocked media elements</a>, or if any of its
<a href=#slaved-media-elements>slaved media elements</a> whose <a href=#autoplaying-flag>autoplaying
flag</a> is true still have a <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute that is true.</p>
flag</a> is true still have a <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute that is true, or if
all of its <a href=#slaved-media-elements>slaved media elements</a> have their <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute set to true.</p>

<p>A <a href=#media-element>media element</a> is <dfn id=blocked-on-its-media-controller>blocked on its media
controller</dfn> if the <code><a href=#mediacontroller>MediaController</a></code> is a
Expand Down Expand Up @@ -33029,9 +33030,9 @@ <h5 id=user-interface><span class=secno>4.8.10.14 </span>User interface</h5>
controller</a>, the user agent's user interface for pausing and
unpausing playback, for seeking, for changing the rate of playback,
for fast-forwarding or rewinding, and for muting or changing the
volume of audio must be implemented specifically in terms of the
<code><a href=#mediacontroller>MediaController</a></code> API exposed on that <a href=#current-media-controller>current media
controller</a>.</p>
volume of audio of the entire group must be implemented in terms of
the <code><a href=#mediacontroller>MediaController</a></code> API exposed on that <a href=#current-media-controller>current
media controller</a>.</p>
<!--CONTROLLER-->

<p>The "play" function in the user agent's interface must set the
Expand Down Expand Up @@ -33059,8 +33060,15 @@ <h5 id=user-interface><span class=secno>4.8.10.14 </span>User interface</h5>
<!--CONTROLLER-->
</p>

<!--CONTROLLER-->
<p>When a <a href=#media-element>media element</a> has a <a href=#current-media-controller>current media
controller</a>, and all the <a href=#slaved-media-elements>slaved media elements</a> of
that <code><a href=#mediacontroller>MediaController</a></code> are paused, the user agent should
unpause all the <a href=#slaved-media-elements>slaved media elements</a> when the user
invokes a user agent interface control for beginning playback.</p>
<!--CONTROLLER-->

<!--CONTROLLER-->
<p>When a <a href=#media-element>media element</a> has a <a href=#current-media-controller>current media
controller</a>, seeking must be implemented in terms of the <code title=dom-MediaController-seek>seek()</code> method on that
<code><a href=#mediacontroller>MediaController</a></code> object. Otherwise, the user agent must
Expand Down
16 changes: 12 additions & 4 deletions index
Expand Up @@ -29488,7 +29488,8 @@ interface <dfn id=mediacontroller>MediaController</dfn> {
media elements</a> are <a href=#blocked-media-element title="blocked media
element">blocked media elements</a>, or if any of its
<a href=#slaved-media-elements>slaved media elements</a> whose <a href=#autoplaying-flag>autoplaying
flag</a> is true still have a <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute that is true.</p>
flag</a> is true still have a <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute that is true, or if
all of its <a href=#slaved-media-elements>slaved media elements</a> have their <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute set to true.</p>

<p>A <a href=#media-element>media element</a> is <dfn id=blocked-on-its-media-controller>blocked on its media
controller</dfn> if the <code><a href=#mediacontroller>MediaController</a></code> is a
Expand Down Expand Up @@ -33041,9 +33042,9 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> {
controller</a>, the user agent's user interface for pausing and
unpausing playback, for seeking, for changing the rate of playback,
for fast-forwarding or rewinding, and for muting or changing the
volume of audio must be implemented specifically in terms of the
<code><a href=#mediacontroller>MediaController</a></code> API exposed on that <a href=#current-media-controller>current media
controller</a>.</p>
volume of audio of the entire group must be implemented in terms of
the <code><a href=#mediacontroller>MediaController</a></code> API exposed on that <a href=#current-media-controller>current
media controller</a>.</p>
<!--CONTROLLER-->

<p>The "play" function in the user agent's interface must set the
Expand Down Expand Up @@ -33071,8 +33072,15 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> {
<!--CONTROLLER-->
</p>

<!--CONTROLLER-->
<p>When a <a href=#media-element>media element</a> has a <a href=#current-media-controller>current media
controller</a>, and all the <a href=#slaved-media-elements>slaved media elements</a> of
that <code><a href=#mediacontroller>MediaController</a></code> are paused, the user agent should
unpause all the <a href=#slaved-media-elements>slaved media elements</a> when the user
invokes a user agent interface control for beginning playback.</p>
<!--CONTROLLER-->

<!--CONTROLLER-->
<p>When a <a href=#media-element>media element</a> has a <a href=#current-media-controller>current media
controller</a>, seeking must be implemented in terms of the <code title=dom-MediaController-seek>seek()</code> method on that
<code><a href=#mediacontroller>MediaController</a></code> object. Otherwise, the user agent must
Expand Down
17 changes: 13 additions & 4 deletions source
Expand Up @@ -32140,7 +32140,9 @@ interface <dfn>MediaController</dfn> {
element">blocked media elements</span>, or if any of its
<span>slaved media elements</span> whose <span>autoplaying
flag</span> is true still have a <code
title="dom-media-paused">paused</code> attribute that is true.</p>
title="dom-media-paused">paused</code> attribute that is true, or if
all of its <span>slaved media elements</span> have their <code
title="dom-media-paused">paused</code> attribute set to true.</p>

<p>A <span>media element</span> is <dfn>blocked on its media
controller</dfn> if the <code>MediaController</code> is a
Expand Down Expand Up @@ -36327,9 +36329,9 @@ interface <dfn>TextTrackCue</dfn> {
controller</span>, the user agent's user interface for pausing and
unpausing playback, for seeking, for changing the rate of playback,
for fast-forwarding or rewinding, and for muting or changing the
volume of audio must be implemented specifically in terms of the
<code>MediaController</code> API exposed on that <span>current media
controller</span>.</p>
volume of audio of the entire group must be implemented in terms of
the <code>MediaController</code> API exposed on that <span>current
media controller</span>.</p>
<!--START w3c-html--><!--CONTROLLER-->

<p>The "play" function in the user agent's interface must set the
Expand Down Expand Up @@ -36358,7 +36360,14 @@ interface <dfn>TextTrackCue</dfn> {
</p>

<!--END w3c-html--><!--CONTROLLER-->
<p>When a <span>media element</span> has a <span>current media
controller</span>, and all the <span>slaved media elements</span> of
that <code>MediaController</code> are paused, the user agent should
unpause all the <span>slaved media elements</span> when the user
invokes a user agent interface control for beginning playback.</p>
<!--START w3c-html--><!--CONTROLLER-->

<!--END w3c-html--><!--CONTROLLER-->
<p>When a <span>media element</span> has a <span>current media
controller</span>, seeking must be implemented in terms of the <code
title="dom-MediaController-seek">seek()</code> method on that
Expand Down

0 comments on commit 2116c7e

Please sign in to comment.