Install videojs-koment via npm (preferred):
$ npm install videojs-koment
Or Bower:
$ bower install videojs-koment
Include videojs-koment on your website using the tool(s) of your choice.
The simplest method of inclusion is a <script>
tag after the video.js <script>
tag:
<script src="path/to/video.js/dist/video.js"></script>
<script src="path/to/videojs-koment/dist/videojs-koment.js"></script>
When installed via npm, videojs-koment supports Browserify-based workflows out of the box.
For full details on how to use the playlist plugin can be found in the API documentation.
var player = videojs('video');
player.koment();
Apache-2.0. Copyright (c) Brightcove, Inc.