A plugin to simulate the experience of watching live TV but in the browser.
Table of Contents
Install videojs-zapping via npm:
npm install videojs-zapping
To include videojs-zapping on your website or web application, use any of the following methods.
It is mandatory to add an id to the
<video> tag that matches the argument passed to the
videojs() function. In this case the id of the video must be
This is the simplest case. Get the script in whatever way you prefer and include the plugin after you include video.js, so that the
videojs global is available.
When using with Browserify, install videojs-zapping via npm and
require the plugin as you would any other module.
var videojs = ;// 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.;var player = ;player;
For the API Documentation, visit this page.
Apache-2.0. Copyright (c) Qualabs