<?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');
?>
<video id="my-video" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="auto" width="<?php echo $this->size['width']; ?>" height="<?php echo $this->size['height']; ?>" poster="<?php echo $this->posterLink; ?>" data-setup="{}">
    <source src="<?php echo $this->videoLink; ?>" type='video/mp4'>
    <p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that<a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>
</video>