0.1.0 • Published 4 years ago
videojs-dvr-seeking v0.1.0
VideoJS DVR
A DVR Plugin for Video.js
Overview
This plugin adds seeking support to video.js during a live stream. This plugin does not include any styling of the elements added to the player.
Installation
npm install --save videojs-dvr
Usage
import 'video.js';
// The actual plugin function is exported by this module, but it is also
// attached to the `Player.prototype`; so, there is no need to assign it
// to a variable.
import 'videojs-dvr';
const player = videojs('video-player');
player.dvr();