DivX Web Player Plug-In Samples: Most Basic Sample



Most Basic Sample

This sample demonstrates the plug-in using the minimum amount of HTML code required to be functionnal accross platforms and browsers.

The video is 320x192. Note both the <object> and <embed> and how 20 pixels where added to both height tags to account for the controls. The code for this sample is available below.

This sample uses the following HTML code:

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

            <param name="src" value="../../videos/video1.divx" />

            <embed type="video/divx" src="../../videos/video1.divx"
                   width="320" height="212"
                   pluginspage="http://go.divx.com/plugin/download/">
            </embed>
    </object>

For customizing the appearance and behavior see the Parameters Sample.


Back to samples index