<?php
// $this->document->addStyleSheet(JURI::base(true).'/components/com_xmovie/css/video-js.css');
// $this->document->addScript(JURI::base().'/components/com_xmovie/js/vjs/video.js');
// $this->document->addScript(JURI::base().'/components/com_xmovie/js/vjs/videojs-java.js');
// $this->document->addScriptDeclaration('
// videojs.options.java.jar = "'.JURI::base().'/components/com_xmovie/js/vjs/video-js.jar";
// ');
// $this->document->addStyleDeclaration('
//   .vjs-control-bar {
//     display: none !important;
//   }
// ');
?>
<!-- <video
  id="xmovie-avi"
  class="video-js vjs-default-skin vjs-big-play-centered"
  controls
  width="<?php echo $this->size['width']; ?>" height="<?php echo $this->size['height']; ?>"
  data-setup='{ "techOrder": ["java"] }'
>
    <source src="<?php echo $this->videoLink; ?>" type="video/avi">
</video> -->

<object classid='clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616' width="<?php echo $this->size['width']; ?>" height="<?php echo $this->size['height']; ?>" codebase='http://go.divx.com/plugin/DivXBrowserPlugin.cab'>
    <param name='custommode' value='none' />
    <param name='src' value='<?php echo $this->videoLink; ?>' />
    <embed 
        type='video/divx' 
        src="<?php echo $this->videoLink; ?>" 
        custommode='none' 
        width="<?php echo $this->size['width']; ?>" 
        height="<?php echo $this->size['height']; ?>" 
        pluginspage='http://go.divx.com/plugin/download/'>
    </embed>
</object>
