315
views
views
Video.js supports all attributes of the
How to add annotations in video using video.js
Video.js works out of the box with not only HTML <script> and <link> tags, but also all major bundlers/packagers/builders, such as Browserify, Node, WebPack, etc.
It is easy to integrate and equally easy to deploy.
Video.js supports all attributes of the <video> element (such as controls, preload, etc), but it also supports its own options. There are two ways to create a Video.js player and pass it options, but they both start with a standard <video> element with the attribute class=”video-js”:
First of all, you simply need to prepare video in your page