Socket
Book a DemoInstallSign in
Socket

videojs-mux

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

videojs-mux

Mux analytics plugin for Video.js

npmnpm
Version
2.0.14
Version published
Weekly downloads
8.1K
3.07%
Maintainers
1
Weekly downloads
 
Created
Source

videojs-mux

The VideoJS plugin for Mux Analytics

Using

Install the package:

npm install videojs-mux

Include videojs-mux where needed (after ensuring videojs is loaded in the page somewhere):

import videojs_mux from 'videojs-mux';

There is no need to make any direct calls to videojs_mux, as it will register itself as a videojs plugin (so ensure that video.js is loaded before videojs_mux).

See our docs page for instructions to initialize the plugin.

Using directly in an HTML page

The above directions are for including within an NPM project. If, however, you want to include the script file directly in a website, make sure that you use the /node_modules/videojs-mux/dist/videojs-mux.js file in your <script> tag.

Keywords

videojs

FAQs

Package last updated on 04 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts