Skip to content
Permalink
Browse files
[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

git-svn-id: http://svn.whatwg.org/webapps@4768 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 18, 2010
1 parent 762f5b5 commit 6c686513734552cf336aa71dc453da9be5db78c2
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 17 deletions.
@@ -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 &mdash; 17 February 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 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,6 +21352,29 @@ <h4 id=the-object-element><span class=secno>4.8.4 </span>The <dfn><code>object</

</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>
@@ -21400,23 +21423,24 @@ <h4 id=the-param-element><span class=secno>4.8.5 </span>The <dfn><code>param</co
<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>
36 index
@@ -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 &mdash; 17 February 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 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,6 +21254,29 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&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>
@@ -21302,23 +21325,24 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<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>
34 source
@@ -22779,6 +22779,29 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></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>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>&lt;p>Look at my video:
&lt;object type="application/x-shockwave-flash">
&lt;param name=movie value="http://video.example.com/library/watch.swf">
&lt;param name=allowfullscreen value=true>
&lt;param name=flashvars value="http://video.example.com/vids/315981">
&lt;video controls src="http://video.example.com/vids/315981">
&lt;a href="http://video.example.com/vids/315981">View video&lt;/a>.
&lt;/video>
&lt;/object>
&lt;/p></pre>

</div>



<h4>The <dfn><code>param</code></dfn> element</h4>
@@ -22834,23 +22857,24 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<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>&lt;!DOCTYPE HTML>
&lt;html lang="en">
&lt;head>
&lt;title>Flash test page&lt;/title>
&lt;title>O3D test page&lt;/title>
&lt;/head>
&lt;body>
&lt;p>
&lt;object type="application/x-shockwave-flash">
<strong>&lt;param name=movie value="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf"></strong>
&lt;object type="application/vnd.o3d.auto">
<strong>&lt;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.
&lt;/object>
&lt;/object>
&lt;script src="o3dtest.js">&lt;/script>
&lt;/p>
&lt;/body>
&lt;/html></pre>

0 comments on commit 6c68651

Please sign in to comment.