This repo is forked from https://github.com/cladera/videojs-time-offset, ported to es6, fixed somebugs