Skip to content

Commit

Permalink
[giow] (0) Avoid firing 'playing' when the script calls play() but th…
Browse files Browse the repository at this point in the history
…e media element is actually paused on user interaction.

git-svn-id: http://svn.whatwg.org/webapps@6012 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 15, 2011
1 parent 4bd0122 commit 75d30e1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions complete.html
Expand Up @@ -28152,10 +28152,10 @@ <h5 id=playing-the-media-resource><span class=secno>4.8.10.8 </span>Playing the

<p>Otherwise, the <a href=#media-element>media element</a>'s <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute has the
value <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code> or
<code title=dom-media-HAVE_ENOUGH_DATA><a href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>;
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
named <code title=event-media-playing><a href=#event-media-playing>playing</a></code> at the
element.</p>
<code title=dom-media-HAVE_ENOUGH_DATA><a href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>; if
the <a href=#media-element>media element</a> is <a href=#potentially-playing>potentially
playing</a>, then <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a
simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code> at the element.</p>

</li>

Expand Down
8 changes: 4 additions & 4 deletions index
Expand Up @@ -28164,10 +28164,10 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael

<p>Otherwise, the <a href=#media-element>media element</a>'s <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute has the
value <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code> or
<code title=dom-media-HAVE_ENOUGH_DATA><a href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>;
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
named <code title=event-media-playing><a href=#event-media-playing>playing</a></code> at the
element.</p>
<code title=dom-media-HAVE_ENOUGH_DATA><a href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>; if
the <a href=#media-element>media element</a> is <a href=#potentially-playing>potentially
playing</a>, then <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a
simple event</a> named <code title=event-media-playing><a href=#event-media-playing>playing</a></code> at the element.</p>

</li>

Expand Down
9 changes: 5 additions & 4 deletions source
Expand Up @@ -30646,10 +30646,11 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
value <code
title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code> or
<code
title="dom-media-HAVE_ENOUGH_DATA">HAVE_ENOUGH_DATA</code>;
<span>queue a task</span> to <span>fire a simple event</span>
named <code title="event-media-playing">playing</code> at the
element.</p>
title="dom-media-HAVE_ENOUGH_DATA">HAVE_ENOUGH_DATA</code>; if
the <span>media element</span> is <span>potentially
playing</span>, then <span>queue a task</span> to <span>fire a
simple event</span> named <code
title="event-media-playing">playing</code> at the element.</p>

</li>

Expand Down

0 comments on commit 75d30e1

Please sign in to comment.