[html5] r4768 - [e] (0) Change the examples around to pick on Google products instead of Adobe p [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Feb 17 16:40:40 PST 2010


Author: ianh
Date: 2010-02-17 16:40:38 -0800 (Wed, 17 Feb 2010)
New Revision: 4768

Modified:
   complete.html
   index
   source
Log:
[e] (0) Change the examples around to pick on Google products instead of Adobe products.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8784

Modified: complete.html
===================================================================
--- complete.html	2010-02-17 23:57:27 UTC (rev 4767)
+++ complete.html	2010-02-18 00:40:38 UTC (rev 4768)
@@ -157,7 +157,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 17 February 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 18 February 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -21352,8 +21352,31 @@
 
   </div>
 
+  <div class=example>
 
+   <p>The following example shows how a plugin can be used in HTML (in
+   this case the Flash plugin, to show a video file). Fallback is
+   provided for users who do not have Flash enabled, in this case
+   using the <code><a href=#video>video</a></code> element to show the video for those
+   using user agents that support <code><a href=#video>video</a></code>, and finally
+   providing a link to the video for those who have neither Flash nor
+   a <code><a href=#video>video</a></code>-capable browser.</p>
 
+   <pre><p>Look at my video:
+ <object type="application/x-shockwave-flash">
+  <param name=movie value="http://video.example.com/library/watch.swf">
+  <param name=allowfullscreen value=true>
+  <param name=flashvars value="http://video.example.com/vids/315981">
+  <video controls src="http://video.example.com/vids/315981">
+   <a href="http://video.example.com/vids/315981">View video</a>.
+  </video>
+ </object> 
+</p></pre>
+
+  </div>
+
+
+
   <h4 id=the-param-element><span class=secno>4.8.5 </span>The <dfn><code>param</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>
@@ -21400,23 +21423,24 @@
   <div class=example>
 
    <p>The following example shows how the <code><a href=#the-param-element>param</a></code> element
-   can be used to pass a parameter to a plugin, in this case the Flash
+   can be used to pass a parameter to a plugin, in this case the O3D
    plugin.</p>
 
    <pre><!DOCTYPE HTML>
 <html lang="en">
  <head>
-  <title>Flash test page</title>
+  <title>O3D test page</title>
  </head>
  <body>
   <p>
-   <object type="application/x-shockwave-flash">
-    <strong><param name=movie value="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf"></strong>
+   <object type="application/vnd.o3d.auto">
+    <strong><param name="o3d_features" value="FloatingPointTextures"></strong>
     This page requires the use of a proprietary technology. Since you
     have not installed the software product required to view this
     page, you should try visiting another site that instead uses open
     vendor-neutral technologies.
-   </object> 
+   </object>
+   <script src="o3dtest.js"></script>
   </p>
  </body>
 </html></pre>

Modified: index
===================================================================
--- index	2010-02-17 23:57:27 UTC (rev 4767)
+++ index	2010-02-18 00:40:38 UTC (rev 4768)
@@ -159,7 +159,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>HTML5 (including next generation additions still in development)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 17 February 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 18 February 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -21254,8 +21254,31 @@
 
   </div>
 
+  <div class=example>
 
+   <p>The following example shows how a plugin can be used in HTML (in
+   this case the Flash plugin, to show a video file). Fallback is
+   provided for users who do not have Flash enabled, in this case
+   using the <code><a href=#video>video</a></code> element to show the video for those
+   using user agents that support <code><a href=#video>video</a></code>, and finally
+   providing a link to the video for those who have neither Flash nor
+   a <code><a href=#video>video</a></code>-capable browser.</p>
 
+   <pre><p>Look at my video:
+ <object type="application/x-shockwave-flash">
+  <param name=movie value="http://video.example.com/library/watch.swf">
+  <param name=allowfullscreen value=true>
+  <param name=flashvars value="http://video.example.com/vids/315981">
+  <video controls src="http://video.example.com/vids/315981">
+   <a href="http://video.example.com/vids/315981">View video</a>.
+  </video>
+ </object> 
+</p></pre>
+
+  </div>
+
+
+
   <h4 id=the-param-element><span class=secno>4.8.5 </span>The <dfn><code>param</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>
@@ -21302,23 +21325,24 @@
   <div class=example>
 
    <p>The following example shows how the <code><a href=#the-param-element>param</a></code> element
-   can be used to pass a parameter to a plugin, in this case the Flash
+   can be used to pass a parameter to a plugin, in this case the O3D
    plugin.</p>
 
    <pre><!DOCTYPE HTML>
 <html lang="en">
  <head>
-  <title>Flash test page</title>
+  <title>O3D test page</title>
  </head>
  <body>
   <p>
-   <object type="application/x-shockwave-flash">
-    <strong><param name=movie value="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf"></strong>
+   <object type="application/vnd.o3d.auto">
+    <strong><param name="o3d_features" value="FloatingPointTextures"></strong>
     This page requires the use of a proprietary technology. Since you
     have not installed the software product required to view this
     page, you should try visiting another site that instead uses open
     vendor-neutral technologies.
-   </object> 
+   </object>
+   <script src="o3dtest.js"></script>
   </p>
  </body>
 </html></pre>

Modified: source
===================================================================
--- source	2010-02-17 23:57:27 UTC (rev 4767)
+++ source	2010-02-18 00:40:38 UTC (rev 4768)
@@ -22779,8 +22779,31 @@
 
   </div>
 
+  <div class="example">
 
+   <p>The following example shows how a plugin can be used in HTML (in
+   this case the Flash plugin, to show a video file). Fallback is
+   provided for users who do not have Flash enabled, in this case
+   using the <code>video</code> element to show the video for those
+   using user agents that support <code>video</code>, and finally
+   providing a link to the video for those who have neither Flash nor
+   a <code>video</code>-capable browser.</p>
 
+   <pre><p>Look at my video:
+ <object type="application/x-shockwave-flash">
+  <param name=movie value="http://video.example.com/library/watch.swf">
+  <param name=allowfullscreen value=true>
+  <param name=flashvars value="http://video.example.com/vids/315981">
+  <video controls src="http://video.example.com/vids/315981">
+   <a href="http://video.example.com/vids/315981">View video</a>.
+  </video>
+ </object> 
+</p></pre>
+
+  </div>
+
+
+
   <h4>The <dfn><code>param</code></dfn> element</h4>
 
   <dl class="element">
@@ -22834,23 +22857,24 @@
   <div class="example">
 
    <p>The following example shows how the <code>param</code> element
-   can be used to pass a parameter to a plugin, in this case the Flash
+   can be used to pass a parameter to a plugin, in this case the O3D
    plugin.</p>
 
    <pre><!DOCTYPE HTML>
 <html lang="en">
  <head>
-  <title>Flash test page</title>
+  <title>O3D test page</title>
  </head>
  <body>
   <p>
-   <object type="application/x-shockwave-flash">
-    <strong><param name=movie value="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf"></strong>
+   <object type="application/vnd.o3d.auto">
+    <strong><param name="o3d_features" value="FloatingPointTextures"></strong>
     This page requires the use of a proprietary technology. Since you
     have not installed the software product required to view this
     page, you should try visiting another site that instead uses open
     vendor-neutral technologies.
-   </object> 
+   </object>
+   <script src="o3dtest.js"></script>
   </p>
  </body>
 </html></pre>




More information about the Commit-Watchers mailing list