DivX Web Player Plug-In Samples: Parameters Sample



Parameters Sample

This sample demonstrates how to set custom parameters for all supported browsers.

Here we have used a different controls mode that auto-hides, have changed the movie to make it loop at the end of playback, have disabled the popup menu, and have set autoPlay to false.

This sample uses the following HTML code:

    <object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"
            width="320" height="192"
            codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab">

      <param name="mode" value="zero" />
      <param name="loop" value="true" />
      <param name="autoPlay" value="false" />
      <param name="allowContextMenu" value="false" />
      <param name="src" value="../../videos/video2.divx" />>

      <embed type="video/divx" src="../../videos/video2.divx"
             width="320" height="192"
             mode="zero" loop="true" autoPlay="false" allowContextMenu="false" 
             pluginspage="http://go.divx.com/plugin/download/">
      </embed>
    </object>


Back to samples index