videojs-disable-progress-bar

0.1.0 • Public • Published

VideoJS disable progress bar

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.

how to install

  • npm i videojs-disable-progress-bar

Getting Started

  • Check src/example.js

API

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

Readme

Keywords

none

Package Sidebar

Install

npm i videojs-disable-progress-bar

Weekly Downloads

130

Version

0.1.0

License

none

Unpacked Size

25.1 kB

Total Files

12

Last publish

Collaborators

  • alexrqs