- From: poot <cvsmail@w3.org>
- Date: Thu, 18 Feb 2010 09:45:02 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Change the examples around to pick on Google products instead of Adobe products. (whatwg r4768) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3815&r2=1.3816&f=h http://html5.org/tools/web-apps-tracker?from=4767&to=4768 =================================================================== 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 @@ <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><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><!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:45:31 UTC