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]-->

Pages: 1 2 3 4 5 6 7 8 9

Printed from: http://rolandog.com/archives/2006/07/14/placing-videos-the-standards-compliant-way/ .
© Rolando Garza 2010.

4 Comments   »

RSS feed for comments on this post , TrackBack URI

Leave a Reply

  • A long, long time ago…