[html5] r6012 - [giow] (0) Avoid firing 'playing' when the script calls play() but the media ele [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Apr 14 18:03:26 PDT 2011


Author: ianh
Date: 2011-04-14 18:03:25 -0700 (Thu, 14 Apr 2011)
New Revision: 6012

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Avoid firing 'playing' when the script calls play() but the media element is actually paused on user interaction.

Modified: complete.html
===================================================================
--- complete.html	2011-04-15 00:59:14 UTC (rev 6011)
+++ complete.html	2011-04-15 01:03:25 UTC (rev 6012)
@@ -28152,10 +28152,10 @@
 
       <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>
 

Modified: index
===================================================================
--- index	2011-04-15 00:59:14 UTC (rev 6011)
+++ index	2011-04-15 01:03:25 UTC (rev 6012)
@@ -28164,10 +28164,10 @@
 
       <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>
 

Modified: source
===================================================================
--- source	2011-04-15 00:59:14 UTC (rev 6011)
+++ source	2011-04-15 01:03:25 UTC (rev 6012)
@@ -30646,10 +30646,11 @@
       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>
 




More information about the Commit-Watchers mailing list