W3C home > Mailing lists > Public > public-html-commits@w3.org > February 2010

html5/spec Overview.html,1.3815,1.3816

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 18 Feb 2010 00:44:47 +0000
To: public-html-commits@w3.org
Message-Id: <E1NhuVb-0004n8-Nj@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv17691

Modified Files:
	Overview.html 
Log Message:
Change the examples around to pick on Google products instead of Adobe products. (whatwg r4768)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3815
retrieving revision 1.3816
diff -u -d -r1.3815 -r1.3816
--- Overview.html	17 Feb 2010 23:57:32 -0000	1.3815
+++ Overview.html	18 Feb 2010 00:44:43 -0000	1.3816
@@ -18371,6 +18371,27 @@
  &lt;figcaption&gt;My HTML Clock&lt;/figcaption&gt;
 &lt;/figure&gt;</pre>
 
+  </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>&lt;p&gt;Look at my video:
+ &lt;object type="application/x-shockwave-flash"&gt;
+  &lt;param name=movie value="http://video.example.com/library/watch.swf"&gt;
+  &lt;param name=allowfullscreen value=true&gt;
+  &lt;param name=flashvars value="http://video.example.com/vids/315981"&gt;
+  &lt;video controls src="http://video.example.com/vids/315981"&gt;
+   &lt;a href="http://video.example.com/vids/315981"&gt;View video&lt;/a&gt;.
+  &lt;/video&gt;
+ &lt;/object&gt; 
+&lt;/p&gt;</pre>
+
   </div><h4 id="the-param-element"><span class="secno">4.8.5 </span>The <dfn><code>param</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt>
    <dd>None.</dd>
    <dt>Contexts in which this element may be used:</dt>
@@ -18405,23 +18426,24 @@
   </div><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>&lt;!DOCTYPE HTML&gt;
 &lt;html lang="en"&gt;
  &lt;head&gt;
-  &lt;title&gt;Flash test page&lt;/title&gt;
+  &lt;title&gt;O3D test page&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
   &lt;p&gt;
-   &lt;object type="application/x-shockwave-flash"&gt;
-    <strong>&lt;param name=movie value="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf"&gt;</strong>
+   &lt;object type="application/vnd.o3d.auto"&gt;
+    <strong>&lt;param name="o3d_features" value="FloatingPointTextures"&gt;</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.
-   &lt;/object&gt; 
+   &lt;/object&gt;
+   &lt;script src="o3dtest.js"&gt;&lt;/script&gt;
   &lt;/p&gt;
  &lt;/body&gt;
 &lt;/html&gt;</pre>
Received on Thursday, 18 February 2010 00:44:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 18 February 2010 00:44:55 GMT