Placing Videos the Standards Compliant Way

You can skip to a specific format’s section by clicking a link from the following list:

divX Format

The divX format requires the DivX Web Player plugin. By converting the code generated by the DivX HTML Generator, you should be able to view the file (if you have the divx player plugin) using code like this:

I’m using the same code-hackery as in the .jar Format.

<!--[if !IE]><-->
<object id="divxPlayer" type="video/divx" width="320" height="212" data="http://www.archive.org/download/BudweiserBudweiserWave/Budweiser_Stadium.divx">
   <param name="autoPlay" value="false" />
   <param name="pluginspage" value="http://go.divx.com/plugin/download/" />
<!--><![endif]-->
<!--[if IE]>
   <object id="divxPlayer" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" width="320" height="212" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab"><param name="src" value="http://www.archive.org/download/BudweiserBudweiserWave/Budweiser_Stadium.divx" />
      <param name="autoPlay" value="false" />
      <param name="pluginspage" value="http://go.divx.com/plugin/download/" />
      <a href="http://go.divx.com/plugin/download/">Get the DivX web Plugin</a>
   </object>
<![endif]-->
<!--[if !IE]><-->
</object>
<!--><![endif]-->

And, it works…

< ![endif]-->

< ![endif]-->

4 Comments

Post a Comment

Your email is never shared. Required fields are marked *