<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
 <!-- page name="index"-->
 <template>
  <do optional="false" label="Back Up" type="accept">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#index"/>
  </do>
 </template>
 <card ordered="true" newcontext="false" id="index">
  <do optional="false" label="Back Up" type="accept">
   <noop/>
  </do>
  <do optional="false" label="Back" type="prev">
   <prev/>
  </do>
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#reference"/>
  </do>
  <a href="#reference" accesskey="1">The &lt;object&gt; Tag</a>
  <br/>
  <a href="#syntax" accesskey="2">Syntax</a>
  <br/>
  <a href="#attributes" accesskey="3">Attributes</a>
  <br/>
  <a href="#examples" accesskey="4">Examples</a>
  <br/>
  <a href="#embedded-video" accesskey="5">Video</a>
  <br/>
  <a href="#video-with-fallback" accesskey="6">Fallback</a>
  <br/>
  <a href="#differences" accesskey="7">Differences</a>
  <br/>
 </card>
 <card ordered="true" newcontext="false" id="reference">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#syntax"/>
  </do>
  <!-- h2 -->
  <h2>The &lt;object&gt; tag in HTML 5</h2>
  <p align="left">
   <a href="#syntax">Next: Syntax</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="syntax">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#attributes"/>
  </do>
  <!-- h3 -->
  <h3>Syntax of the &lt;object&gt; tag</h3>
  <p align="left">
   <a href="#attributes">Next: Attributes</a>
   <br/>
   <a href="#reference">Prev: The &lt;object&gt; Tag</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="attributes">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#examples"/>
  </do>
  <!-- h3 -->
  <h3>Attributes of the &lt;object&gt; tag</h3>
  <!--TO DO: uses XMLStyles_wml1.xsl - delete XMLStyles_wml.xsl-->
  <p align="left"> attribute</p>
  <p align="left">The  attribute </p>
  <p align="left">common attributes</p>
  <p align="left">In addition to the attributes above, which are specific to the &lt;object&gt; tag, any of the <a href="../../attributes/">common HTML attributes</a> can also be used. </p>
  <p align="left">
   <a href="#examples">Next: Examples</a>
   <br/>
   <a href="#syntax">Prev: Syntax</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="examples">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#embedded-video"/>
  </do>
  <!-- h3 -->
  <h3>Examples of the object tag in HTML 5</h3>
  <p align="left"/>
  <p align="left">
   <a href="#embedded-video">Next: Video</a>
   <br/>
   <a href="#attributes">Prev: Attributes</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="embedded-video">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#video-with-fallback"/>
  </do>
  <!-- h3 -->
  <h3>Example of embedding video in HTML 5</h3>
  <p>When embedding video from another site, such as YouTube, in an HTML 5 page the &lt;object&gt; tag is typically used rather than the <a href="../video-tag/">&lt;video&gt; tag</a>: </p>
  <p align="left">&lt;object width="1280" height="745"&gt; &lt;param name="movie" value="http://www.YouTube.com/v/ZXYVyrrUZ3c&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1"/&gt; &lt;param name="allowFullScreen" value="true"/&gt; &lt;param name="allowscriptaccess" value="always"/&gt; &lt;embed src="http://www.YouTube.com/v/ZXYVyrrUZ3c&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="1280" height="745"/&gt;&lt;/object&gt;</p>
  <p>Demo of embedded YouTube video:<br/>
   <a href="/video/youtube-example.html">embedded YouTube video</a>
   <br/> (Note that this video will probably not play if your current browser does not yet support HTML 5 video.) </p>
  <p align="left">
   <a href="#video-with-fallback">Next: Fallback</a>
   <br/>
   <a href="#examples">Prev: Examples</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="video-with-fallback">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#differences"/>
  </do>
  <p>The &lt;object&gt; tag can be combined with some other tags, such as the <a href="../video-tag/">&lt;video&gt; tag</a>
   <a href="../audio-tag/">&lt;audio&gt; tag</a> to provide a fallback when the browser does not support the type of media provided. The &lt;object&gt; element for fallback media is coded within the &lt;audio&gt; or &lt;video&gt; tag as shown in the following example, which falls back to an embedded YouTube video: </p>
  <p align="left">&lt;video poster="poster.png" controls="controls" style="border: black 1px solid; margin: 4px"&gt; &lt;source src="http://Vyd.com/video.ogv" type="video/ogg; codecs="theora,vorbis""/&gt; &lt;source src="http://Vyd.com/video.mp4" type="video/mp4; codecs="avc1.42E01E,mp4a.40.2""/&gt; &lt;object width="1280" height="745"&gt; &lt;param name="movie" value="http://www.YouTube.com/v/ZXYVyrrUZ3c&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1"/&gt; &lt;param name="allowFullScreen" value="true"/&gt; &lt;param name="allowscriptaccess" value="always"/&gt; &lt;embed src="http://www.YouTube.com/v/ZXYVyrrUZ3c&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="1280" height="745"/&gt; &lt;/object&gt;&lt;/video&gt;</p>
  <p align="left">
   <a href="#differences">Next: Differences</a>
   <br/>
   <a href="#embedded-video">Prev: Video</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="differences">
  <!-- h3 -->
  <h3>What's new in HTML 5</h3>
  <!-- h3 -->
  <h3>Differences between HTML 5 and earlier versions</h3>
  <p>The following attributes should <i>not</i> be coded on the &lt;object&gt; tag because they either have been deprecated or were never officially supported: </p>
  <p align="left"/>
  <p align="left">
   <a href="#video-with-fallback">Prev: Fallback</a>
   <br/>
   <a href="#index">Back Up: Menu</a>
   <br/>
  </p>
 </card>
</wml>
