- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 18 Feb 2010 00:47:58 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv19183
Modified Files:
Overview.html spec.html the-iframe-element.html
Log Message:
Change the examples around to pick on Google products instead of Adobe products. (whatwg r4768)
[updated by splitter]
Index: the-iframe-element.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/the-iframe-element.html,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- the-iframe-element.html 17 Feb 2010 04:57:11 -0000 1.27
+++ the-iframe-element.html 18 Feb 2010 00:47:56 -0000 1.28
@@ -742,6 +742,27 @@
<figcaption>My HTML Clock</figcaption>
</figure></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.html#video">video</a></code> element to show the video for those
+ using user agents that support <code><a href="video.html#video">video</a></code>, and finally
+ providing a link to the video for those who have neither Flash nor
+ a <code><a href="video.html#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><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt>
<dd>None.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -765,23 +786,24 @@
attribute gives the value of the parameter.</p><p>Both attributes must be present. They may have any value.</p><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>
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.715
retrieving revision 1.716
diff -u -d -r1.715 -r1.716
--- Overview.html 18 Feb 2010 00:07:00 -0000 1.715
+++ Overview.html 18 Feb 2010 00:47:55 -0000 1.716
@@ -304,7 +304,7 @@
</dl><p>This specification is available in the following formats:
<a href="spec.html">single page HTML</a>,
<a href="Overview.html">multipage HTML</a>.
-This is revision 1.3815.
+This is revision 1.3816.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2009 <a href="http://www.w3.org/"><abbr title="World Wide
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.720
retrieving revision 1.721
diff -u -d -r1.720 -r1.721
--- spec.html 18 Feb 2010 00:07:00 -0000 1.720
+++ spec.html 18 Feb 2010 00:47:55 -0000 1.721
@@ -302,7 +302,7 @@
</dl><p>This specification is available in the following formats:
<a href=spec.html>single page HTML</a>,
<a href=Overview.html>multipage HTML</a>.
-This is revision 1.3815.
+This is revision 1.3816.
</p>
<p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a>
© 2009 <a href=http://www.w3.org/><abbr title="World Wide
@@ -10212,6 +10212,27 @@
<figcaption>My HTML Clock</figcaption>
</figure></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><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><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class=element><dt>Categories</dt>
<dd>None.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -10235,23 +10256,24 @@
attribute gives the value of the parameter.</p><p>Both attributes must be present. They may have any value.</p><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>
Received on Thursday, 18 February 2010 00:48:00 UTC