implementing videojs version of html5 video