html5/spec Overview.html,1.1503,1.1504

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv25040

Modified Files:
	Overview.html 
Log Message:
Allow UAs to not autoplay. (whatwg r2331)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1503
retrieving revision 1.1504
diff -u -d -r1.1503 -r1.1504
--- Overview.html	15 Oct 2008 00:26:57 -0000	1.1503
+++ Overview.html	15 Oct 2008 00:45:31 -0000	1.1504
@@ -14284,14 +14284,24 @@
 
    <dt>If the new ready state is <code title=dom-media-HAVE_ENOUGH_DATA><a href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code></dt>
 
-   <dd><p>The user agent must <a href=#fire-a-simple-event>fire a simple event</a> called
-   <code title=event-canplaythrough><a href=#event-canplaythrough>canplaythrough</a></code> event.
-   <!-- XXX make sure it fires after canplay when fixing queueing here -->
-   If the
-   <a href=#autoplaying-flag>autoplaying flag</a> is true, and the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is true, and the
-   <a href=#media-element>media element</a> has an <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute specified,
-   then the user agent must also set the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute to false and
-   <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-play><a href=#event-play>play</a></code>.</dd>
+   <dd>
+
+    <p>The user agent must <a href=#fire-a-simple-event>fire a simple event</a> called
+    <code title=event-canplaythrough><a href=#event-canplaythrough>canplaythrough</a></code> event.</p>
+    <!-- XXX make sure it fires after canplay when fixing queueing here -->
+
+    <p>If the <a href=#autoplaying-flag>autoplaying flag</a> is true, and the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is true, and the
+    <a href=#media-element>media element</a> has an <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute specified,
+    then the user agent may also set the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute to false and
+    <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-play><a href=#event-play>play</a></code>.</p>
+
+    <p class=note>User agents are not required to autoplay, and it
+    is suggested that user agents honor user preferences on the
+    matter. Authors are urged to use the <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute rather than
+    using script to force the video to play, so as to allow the user
+    to override the behavior if so desired.</p>
+
+   </dd>
 
   </dl><p class=note>It is possible for the ready state of a media
   element to jump between these states discontinuously. For example,

Received on Wednesday, 15 October 2008 00:46:14 UTC