[html5] r1098 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Oct 25 17:43:09 PDT 2007


Author: ianh
Date: 2007-10-25 17:43:08 -0700 (Thu, 25 Oct 2007)
New Revision: 1098

Modified:
   index
   source
Log:
[e] (0) Oops, this example is now redundant (since you could do it with poster='').

Modified: index
===================================================================
--- index	2007-10-26 00:39:01 UTC (rev 1097)
+++ index	2007-10-26 00:43:08 UTC (rev 1098)
@@ -6582,50 +6582,6 @@
   </section></pre>
   </div>
 
-  <div>
-   <p>In the following example, an image acts as a surrogate for a video.</p>
-
-   <pre>  <p>
-   <input type="image" src="frame.png" alt="Play Video"
-     onclick="   if (nextSibling.load) nextSibling.load();
-                 disabled = true;
-                 return false;"
-   ><video src="video.ogg" controls="" irrelevant=""
-     onloadedfirstframe="
-                 irrelevant = false;
-                 previousSibling.irrelevant = true;
-                 autoplay = true"
-     onerror="   parentNode.irrelevant = true;
-                 parentNode.nextSibling.irrelevant = false">
-   </video>
-  </p><p irrelevant="">
-   Playback unavailable.
-   <a href="video.ogg">Download Video</a>
-  </p></pre>
-
-   <p>When the image is clicked, the script tries to load the video (and
-    disables the playback button).</p>
-
-   <ul>
-    <li>
-     <p>If the load succeeds enough that a frame of data has been downloaded,
-      the <code><a href="#video1">video</a></code> element hides the
-      surrogate image and shows the video instead, along with its controls,
-      and turns on autoplay (so that the video will commence playback as soon
-      as enough of it is loaded).
-
-    <li>
-     <p>If the load fails for any reason, the video and the surrogate frame
-      are both hidden (by hiding the paragraph element containing them both),
-      and the next paragraph is shown instead, with its unhelpful error
-      message and potentially helpful link to download the video directly.
-   </ul>
-
-   <p>In legacy user agents, the surrogate image would show — though
-    clicking it would have no effect — and the link to the video would
-    be present, allowing the video to be viewed in another application.</p>
-  </div>
-
   <p>The <code title=attr-irrelevant><a
    href="#irrelevant">irrelevant</a></code> attribute must not be used to
    hide content that could legitimately be shown in another presentation. For

Modified: source
===================================================================
--- source	2007-10-26 00:39:01 UTC (rev 1097)
+++ source	2007-10-26 00:43:08 UTC (rev 1098)
@@ -5117,56 +5117,7 @@
 
   </div>
 
-  <div>
 
-   <p>In the following example, an image acts as a surrogate for a
-   video.</p>
-
-   <pre>  <p>
-   <input type="image" src="frame.png" alt="Play Video"
-     onclick="   if (nextSibling.load) nextSibling.load();
-                 disabled = true;
-                 return false;"
-   ><video src="video.ogg" controls="" irrelevant=""
-     onloadedfirstframe="
-                 irrelevant = false;
-                 previousSibling.irrelevant = true;
-                 autoplay = true"
-     onerror="   parentNode.irrelevant = true;
-                 parentNode.nextSibling.irrelevant = false">
-   </video>
-  </p><p irrelevant="">
-   Playback unavailable.
-   <a href="video.ogg">Download Video</a>
-  </p></pre>
-
-   <p>When the image is clicked, the script tries to load the video
-   (and disables the playback button).</p>
-
-   <ul>
-
-    <li><p>If the load succeeds enough that a frame of data has been
-    downloaded, the <code>video</code> element hides the surrogate
-    image and shows the video instead, along with its controls, and
-    turns on autoplay (so that the video will commence playback as
-    soon as enough of it is loaded).</p></li>
-
-    <li><p>If the load fails for any reason, the video and the
-    surrogate frame are both hidden (by hiding the paragraph element
-    containing them both), and the next paragraph is shown instead,
-    with its unhelpful error message and potentially helpful link to
-    download the video directly.</p></li>
-
-   </ul>
-
-   <p>In legacy user agents, the surrogate image would show —
-   though clicking it would have no effect — and the link to the
-   video would be present, allowing the video to be viewed in another
-   application.</p>
-
-  </div>
-
-
   <p>The <code title="attr-irrelevant">irrelevant</code> attribute
   must not be used to hide content that could legitimately be shown in
   another presentation. For example, it is incorrect to use <code




More information about the Commit-Watchers mailing list