This videojs plugin allows you to disable video progress. Useful for preroll videos where you need to disable the user from progressing/scrubbing the video.
npm i videojs-disable-progress-bar
- Check src/example.js
const bar = player.DisableProgressBar()
bar.disable() // will remove listeners so the bar still works but the user can't interact
bar.enable() // restore all back to normal
- rsadwick for the inspiration and main code-base