Inherit on videojs-plus.
VideoJS Plus Plus is an extension and skin for video.js.
npm install videojs-plus-plus
# or
yarn add videojs-plus-plus
-
Include the correspone JS and CSS and
<html> <head> <link rel="stylesheet" href="videojs-plus-plus.css" /> </head> <body> <video id="example-video" class="vjs-fluid" poster="http://vjs.zencdn.net/v/oceans.png" > <source src="http://vjs.zencdn.net/v/oceans.mp4" /> </video> </body> <script src="http://vjs.zencdn.net/7.4.1/video.js"></script> <script src="videojs-plus-plus.umd.js"></script> <script> const player = videojs('example-video'); </script> </html>
See Apache 2.0.