SeaBass
SeaBass

Reputation: 1764

How do I use videojs playlist?

How do I install the video js playlist plug-in? In the example they ask for this file: path/to/videojs-playlist/dist/videojs-playlist.js, but I don't find a dist folder or the .js file. Clues? I have the video.js file. Thanks!

https://github.com/brightcove/videojs-playlist

Upvotes: 1

Views: 2358

Answers (1)

ImAtWar
ImAtWar

Reputation: 1143

Installing NodeJS

Multiple installers are available on their download page. https://docs.npmjs.com/getting-started/installing-node

Using Npm install

This command installs a package, and any packages that it depends on. It reads the file package.json and installs what ever dependency it requires.

It should install all the files you require to run videojs-playlist

After installing simply execute the following command in your videojs-playlist project folder.

npm install videojs-playlist

Upvotes: 1

Related Questions