HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2848

File a bug

SVNBugCommentTime (UTC)
2848[Gecko] [Webkit] Avoid firing 'canplay' twice if media buffers slowly. Also, what's this about a 'prevous' ready state...?2009-02-22 09:28
Index: source
===================================================================
--- source	(revision 2847)
+++ source	(revision 2848)
@@ -20623,7 +20623,7 @@
   <dl class="switch">
 
    <!-- going up to metadata -->
-   <dt>If the prevous ready state was <code
+   <dt>If the previous ready state was <code
    title="dom-media-HAVE_NOTHING">HAVE_NOTHING</code>, and the new
    ready state is <code
    title="dom-media-HAVE_METADATA">HAVE_METADATA</code></dt>
@@ -20639,7 +20639,7 @@
 
    <!-- going up to current for the first time -->
 
-   <dt id="handling-first-frame-available">If the prevous ready state
+   <dt id="handling-first-frame-available">If the previous ready state
    was <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code> and
    the new ready state is <code
    title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code></dt>
@@ -20656,7 +20656,7 @@
    </dd>
 
    <!-- going down -->
-   <dt>If the prevous ready state was <code
+   <dt>If the previous ready state was <code
    title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code> or more,
    and the new ready state is <code
    title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> or
@@ -20671,7 +20671,7 @@
    </dd>
 
    <!-- going up to future -->
-   <dt>If the prevous ready state was <code
+   <dt>If the previous ready state was <code
    title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> or
    less, and the new ready state is <code
    title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code></dt>
@@ -20695,9 +20695,13 @@
 
    <dd>
 
-    <p>The user agent must <span>queue a task</span> to <span>fire a
-    simple event</span> called <code
-    title="event-canplay">canplay</code>, and then <span>queue a
+    <p>If the previous ready state was <code
+    title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> or
+    less, the user agent must <span>queue a task</span> to <span>fire
+    a simple event</span> called <code
+    title="event-canplay">canplay</code>.</p>
+
+    <p>In either case, the user agent must then <span>queue a
     task</span> to <span>fire a simple event</span> called <code
     title="event-canplaythrough">canplaythrough</code>.</p>
 

|