Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mux/videojs-kit

Package Overview
Dependencies
Maintainers
20
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mux/videojs-kit - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

src/entry.js

2

package.json
{
"name": "@mux/videojs-kit",
"version": "0.1.2",
"version": "0.1.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -12,5 +12,7 @@ # Video.js + Mux Kit

// yarn
yarn add @mux/videojs-kit
yarn add @mux/videojs-kit
```
If you don't use a package manager such as NPM, there are hosted versions provided by [unpkg.com](https://unpkg.com) too.
## Usage

@@ -20,3 +22,3 @@

Import the javascript and css in your application like this:
If you use a package manager such as NPM, import the javascript and css in your application like this:

@@ -29,4 +31,11 @@ ```js

Then, on your page include a <video> element where you want to add your player.
If you'd rather use the hosted versions, include this in your HTML page:
```js
// script tags
<script src="https://unpkg.com/@mux/videojs-kit@0.1/dist/index.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@mux/videojs-kit@0.1/dist/index.css">
```
Then, on your page include a `<video>` element where you want to add your player.
```html

@@ -41,5 +50,5 @@ <video

data-setup='{
"timelineHoverPreviews": true,
"plugins": {
"mux": {
"timelineHoverPreviews": true,
"data": {

@@ -71,5 +80,5 @@ "env_key": "ENV_KEY",

const player = videojs('mux-default', {
"timelineHoverPreviews": true,
"plugins": {
"mux": {
"timelineHoverPreviews": true,
"data": {

@@ -76,0 +85,0 @@ "env_key": "ENV_KEY",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc