<?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-vimeo.min.js');
// $this->document->addStyleDeclaration('
//   .vjs-control-bar {
//     display: none !important;
//   }
// ');
// need new code
$name = 'xmovie-veoh';
$attrs = "width='{$this->size['width']}' height='{$this->size['height']}' scrolling='no' frameborder='0' webkitallowfullscreen mozallowfullscreen allowfullscreen";
$embed = JHtml::iframe($this->videoLink, $name, $attrs);
echo $embed;
?>
<!-- <video
  id="xmovie-youtube"
  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": ["vimeo"], "sources": [{ "type": "video/vimeo", "src": "<?php echo $this->videoLink; ?>"}], "vimeo": { "color": "#000000"} }'
>
</video> -->