adjust for videojs plugin