0.7.0 • Published 6 years ago

videojs-concurrence-limiter v0.7.0

Weekly downloads
2
License
Apache-2.0
Repository
-
Last release
6 years ago

videojs-concurrence-limiter

A Video.js plugin for concurrency control

Table of Contents

Installation

npm install --save videojs-concurrence-limiter

Usage

To include videojs-concurrence-limiter on your website or web application, use any of the following methods.

<script> Tag

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.

<script src="//path/to/video.min.js"></script>
<script src="//path/to/videojs-concurrence-limiter.min.js"></script>
<script>
  var player = videojs('my-video');

  player.concurrenceLimiter();
</script>

Browserify/CommonJS

When using with Browserify, install videojs-concurrence-limiter via npm and require the plugin as you would any other module.

var videojs = require('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.
require('videojs-concurrence-limiter');

var player = videojs('my-video');

player.concurrenceLimiter();

RequireJS/AMD

When using with RequireJS (or another AMD library), get the script in whatever way you prefer and require the plugin as you normally would:

require(['video.js', 'videojs-concurrence-limiter'], function(videojs) {
  var player = videojs('my-video');

  player.concurrenceLimiter();
});

License

Apache-2.0. Copyright (c) Toolbox-tve

0.7.0

6 years ago

0.6.4

6 years ago

0.6.3

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.10

7 years ago

0.4.9

7 years ago

0.4.8

7 years ago

0.4.7

7 years ago

0.4.6

7 years ago

0.4.5

7 years ago

0.4.4

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago