Eventmojis videojs plugin
npm install @eventmojis/videojs-pluginPlugin description goes here
``sh`
npm install --save @eventmojis/videojs-plugin
To include videojs-plugin on your website or web application, use any of the following methods.
This is the simplest case. Get the script in whatever way you prefer and include the plugin _after_ you include [video.js][videojs], so that the videojs global is available.
`html`
When using with Browserify, install videojs-plugin via npm and require the plugin as you would any other module.
`js
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('@eventmojis/videojs-plugin');
var player = videojs('my-video');
player.eventmojis();
`
When using with RequireJS (or another AMD library), get the script in whatever way you prefer and require the plugin as you normally would:
`js
require(['video.js', '@eventmojis/videojs-plugin'], function(videojs) {
var player = videojs('my-video');
player.eventmojis();
});
``
MIT. Copyright (c) Eventmojis <hi@eventmojis.com>
[videojs]: http://videojs.com/