Tweaking the videojs script. Need to work though this and make it actually work.