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

@mux/mux-video

Package Overview
Dependencies
Maintainers
0
Versions
590
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mux/mux-video - npm Package Compare versions

Comparing version 0.21.0-canary.0-b8ca3a2 to 0.21.0-canary.0-e1d17f4

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

# [0.22.0](https://github.com/muxinc/elements/compare/@mux/mux-video@0.21.0...@mux/mux-video@0.22.0) (2024-10-24)
### Features
* **playback-core, mux-video, mux-audio, mux-video-react, mux-audio-react, mux-player, mux-player-react:** Add asset start and end time props and attrs. ([#1002](https://github.com/muxinc/elements/issues/1002)) ([99a0726](https://github.com/muxinc/elements/commit/99a07268cfa78ee026a0ee7b7f9af90fcf3feb4c))
* **playback-core:** error handling rearchitecture (including more granular and DRM error cases) ([4d0b670](https://github.com/muxinc/elements/commit/4d0b670eacb57f44891fab781941dab6e97e06fe))
# [0.21.0](https://github.com/muxinc/elements/compare/@mux/mux-video@0.20.2...@mux/mux-video@0.21.0) (2024-09-20)

@@ -8,0 +20,0 @@

22

dist/cjs.json

@@ -84,3 +84,3 @@ {

"../../node_modules/media-tracks/dist/utils.js": {
"bytes": 369,
"bytes": 365,
"imports": [],

@@ -90,3 +90,3 @@ "format": "esm"

"../../node_modules/media-tracks/dist/video-track-list.js": {
"bytes": 3365,
"bytes": 3349,
"imports": [

@@ -123,3 +123,3 @@ {

"../../node_modules/media-tracks/dist/video-rendition-list.js": {
"bytes": 3874,
"bytes": 3852,
"imports": [

@@ -145,3 +145,3 @@ {

"../../node_modules/media-tracks/dist/video-rendition.js": {
"bytes": 376,
"bytes": 370,
"imports": [

@@ -162,3 +162,3 @@ {

"../../node_modules/media-tracks/dist/video-track.js": {
"bytes": 1131,
"bytes": 1119,
"imports": [

@@ -189,3 +189,3 @@ {

"../../node_modules/media-tracks/dist/audio-rendition-list.js": {
"bytes": 3870,
"bytes": 3848,
"imports": [

@@ -211,3 +211,3 @@ {

"../../node_modules/media-tracks/dist/audio-rendition.js": {
"bytes": 344,
"bytes": 338,
"imports": [

@@ -228,3 +228,3 @@ {

"../../node_modules/media-tracks/dist/audio-track-list.js": {
"bytes": 3063,
"bytes": 3055,
"imports": [

@@ -250,3 +250,3 @@ {

"../../node_modules/media-tracks/dist/audio-track.js": {
"bytes": 988,
"bytes": 982,
"imports": [

@@ -277,3 +277,3 @@ {

"../../node_modules/media-tracks/dist/mixin.js": {
"bytes": 5444,
"bytes": 5440,
"imports": [

@@ -426,3 +426,3 @@ {

"inputs": {},
"bytes": 145812
"bytes": 145687
},

@@ -429,0 +429,0 @@ "dist/index.cjs.js": {

@@ -84,3 +84,3 @@ {

"../../node_modules/media-tracks/dist/utils.js": {
"bytes": 369,
"bytes": 365,
"imports": [],

@@ -90,3 +90,3 @@ "format": "esm"

"../../node_modules/media-tracks/dist/video-track-list.js": {
"bytes": 3365,
"bytes": 3349,
"imports": [

@@ -123,3 +123,3 @@ {

"../../node_modules/media-tracks/dist/video-rendition-list.js": {
"bytes": 3874,
"bytes": 3852,
"imports": [

@@ -145,3 +145,3 @@ {

"../../node_modules/media-tracks/dist/video-rendition.js": {
"bytes": 376,
"bytes": 370,
"imports": [

@@ -162,3 +162,3 @@ {

"../../node_modules/media-tracks/dist/video-track.js": {
"bytes": 1131,
"bytes": 1119,
"imports": [

@@ -189,3 +189,3 @@ {

"../../node_modules/media-tracks/dist/audio-rendition-list.js": {
"bytes": 3870,
"bytes": 3848,
"imports": [

@@ -211,3 +211,3 @@ {

"../../node_modules/media-tracks/dist/audio-rendition.js": {
"bytes": 344,
"bytes": 338,
"imports": [

@@ -228,3 +228,3 @@ {

"../../node_modules/media-tracks/dist/audio-track-list.js": {
"bytes": 3063,
"bytes": 3055,
"imports": [

@@ -250,3 +250,3 @@ {

"../../node_modules/media-tracks/dist/audio-track.js": {
"bytes": 988,
"bytes": 982,
"imports": [

@@ -277,3 +277,3 @@ {

"../../node_modules/media-tracks/dist/mixin.js": {
"bytes": 5444,
"bytes": 5440,
"imports": [

@@ -426,3 +426,3 @@ {

"inputs": {},
"bytes": 146704
"bytes": 146579
},

@@ -429,0 +429,0 @@ "dist/index.mjs": {

@@ -20,3 +20,3 @@ {

"../../node_modules/hls.js/dist/hls.mjs": {
"bytes": 994232,
"bytes": 996082,
"imports": [],

@@ -116,3 +116,3 @@ "format": "esm"

"../../node_modules/media-tracks/dist/utils.js": {
"bytes": 369,
"bytes": 365,
"imports": [],

@@ -122,3 +122,3 @@ "format": "esm"

"../../node_modules/media-tracks/dist/video-track-list.js": {
"bytes": 3365,
"bytes": 3349,
"imports": [

@@ -155,3 +155,3 @@ {

"../../node_modules/media-tracks/dist/video-rendition-list.js": {
"bytes": 3874,
"bytes": 3852,
"imports": [

@@ -177,3 +177,3 @@ {

"../../node_modules/media-tracks/dist/video-rendition.js": {
"bytes": 376,
"bytes": 370,
"imports": [

@@ -194,3 +194,3 @@ {

"../../node_modules/media-tracks/dist/video-track.js": {
"bytes": 1131,
"bytes": 1119,
"imports": [

@@ -221,3 +221,3 @@ {

"../../node_modules/media-tracks/dist/audio-rendition-list.js": {
"bytes": 3870,
"bytes": 3848,
"imports": [

@@ -243,3 +243,3 @@ {

"../../node_modules/media-tracks/dist/audio-rendition.js": {
"bytes": 344,
"bytes": 338,
"imports": [

@@ -260,3 +260,3 @@ {

"../../node_modules/media-tracks/dist/audio-track-list.js": {
"bytes": 3063,
"bytes": 3055,
"imports": [

@@ -282,3 +282,3 @@ {

"../../node_modules/media-tracks/dist/audio-track.js": {
"bytes": 988,
"bytes": 982,
"imports": [

@@ -309,3 +309,3 @@ {

"../../node_modules/media-tracks/dist/mixin.js": {
"bytes": 5444,
"bytes": 5440,
"imports": [

@@ -458,3 +458,3 @@ {

"inputs": {},
"bytes": 2334826
"bytes": 2338645
},

@@ -473,3 +473,3 @@ "dist/mux-video.js": {

"../../node_modules/hls.js/dist/hls.mjs": {
"bytesInOutput": 393268
"bytesInOutput": 394132
},

@@ -537,5 +537,5 @@ "../playback-core/dist/index.mjs": {

},
"bytes": 555768
"bytes": 556632
}
}
}

@@ -1,2 +0,2 @@

"use strict";var Qt=Object.defineProperty;var di=Object.getOwnPropertyDescriptor;var ui=Object.getOwnPropertyNames;var ci=Object.getPrototypeOf,hi=Object.prototype.hasOwnProperty;var li=Reflect.get;var fi=(e,i,t)=>i in e?Qt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t;var mi=(e,i)=>{for(var t in i)Qt(e,t,{get:i[t],enumerable:!0})},pi=(e,i,t,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of ui(i))!hi.call(e,n)&&n!==t&&Qt(e,n,{get:()=>i[n],enumerable:!(s=di(i,n))||s.enumerable});return e};var gi=e=>pi(Qt({},"__esModule",{value:!0}),e);var T=(e,i,t)=>(fi(e,typeof i!="symbol"?i+"":i,t),t),Te=(e,i,t)=>{if(!i.has(e))throw TypeError("Cannot "+t)};var r=(e,i,t)=>(Te(e,i,"read from private field"),t?t.call(e):i.get(e)),u=(e,i,t)=>{if(i.has(e))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(e):i.set(e,t)},h=(e,i,t,s)=>(Te(e,i,"write to private field"),s?s.call(e,t):i.set(e,t),t);var k=(e,i,t)=>(Te(e,i,"access private method"),t),Zt=(e,i,t)=>li(ci(e),t,i);var Mi={};mi(Mi,{Attributes:()=>o,MediaError:()=>f.MediaError,VideoEvents:()=>ee,default:()=>Li});module.exports=gi(Mi);var Tt=class{addEventListener(){}removeEventListener(){}dispatchEvent(i){return!0}};if(typeof DocumentFragment=="undefined"){class e extends Tt{}globalThis.DocumentFragment=e}var xt=class extends Tt{},be=class extends Tt{},Ei={get(e){},define(e,i,t){},getName(e){return null},upgrade(e){},whenDefined(e){return Promise.resolve(xt)}},Nt,ve=class{constructor(i,t={}){u(this,Nt,void 0);h(this,Nt,t==null?void 0:t.detail)}get detail(){return r(this,Nt)}initCustomEvent(){}};Nt=new WeakMap;function Ti(e,i){return new xt}var Pe={document:{createElement:Ti},DocumentFragment,customElements:Ei,CustomEvent:ve,EventTarget:Tt,HTMLElement:xt,HTMLVideoElement:be},Ie=typeof window=="undefined"||typeof globalThis.customElements=="undefined",te=Ie?Pe:globalThis,Ni=Ie?Pe.document:globalThis.document;var f=require("@mux/playback-core");var bi=()=>{try{return"0.21.0"}catch{}return"UNKNOWN"},vi=bi(),Le=()=>vi;var ee=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"];function yi(e){return`
"use strict";var Qt=Object.defineProperty;var di=Object.getOwnPropertyDescriptor;var ui=Object.getOwnPropertyNames;var ci=Object.getPrototypeOf,hi=Object.prototype.hasOwnProperty;var li=Reflect.get;var fi=(e,i,t)=>i in e?Qt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t;var mi=(e,i)=>{for(var t in i)Qt(e,t,{get:i[t],enumerable:!0})},pi=(e,i,t,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of ui(i))!hi.call(e,n)&&n!==t&&Qt(e,n,{get:()=>i[n],enumerable:!(s=di(i,n))||s.enumerable});return e};var gi=e=>pi(Qt({},"__esModule",{value:!0}),e);var T=(e,i,t)=>(fi(e,typeof i!="symbol"?i+"":i,t),t),Te=(e,i,t)=>{if(!i.has(e))throw TypeError("Cannot "+t)};var r=(e,i,t)=>(Te(e,i,"read from private field"),t?t.call(e):i.get(e)),u=(e,i,t)=>{if(i.has(e))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(e):i.set(e,t)},h=(e,i,t,s)=>(Te(e,i,"write to private field"),s?s.call(e,t):i.set(e,t),t);var k=(e,i,t)=>(Te(e,i,"access private method"),t),Zt=(e,i,t)=>li(ci(e),t,i);var Mi={};mi(Mi,{Attributes:()=>o,MediaError:()=>f.MediaError,VideoEvents:()=>ee,default:()=>Li});module.exports=gi(Mi);var Tt=class{addEventListener(){}removeEventListener(){}dispatchEvent(i){return!0}};if(typeof DocumentFragment=="undefined"){class e extends Tt{}globalThis.DocumentFragment=e}var xt=class extends Tt{},be=class extends Tt{},Ei={get(e){},define(e,i,t){},getName(e){return null},upgrade(e){},whenDefined(e){return Promise.resolve(xt)}},Nt,ve=class{constructor(i,t={}){u(this,Nt,void 0);h(this,Nt,t==null?void 0:t.detail)}get detail(){return r(this,Nt)}initCustomEvent(){}};Nt=new WeakMap;function Ti(e,i){return new xt}var Pe={document:{createElement:Ti},DocumentFragment,customElements:Ei,CustomEvent:ve,EventTarget:Tt,HTMLElement:xt,HTMLVideoElement:be},Ie=typeof window=="undefined"||typeof globalThis.customElements=="undefined",te=Ie?Pe:globalThis,Ni=Ie?Pe.document:globalThis.document;var f=require("@mux/playback-core");var bi=()=>{try{return"0.22.0"}catch{}return"UNKNOWN"},vi=bi(),Le=()=>vi;var ee=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"];function yi(e){return`
<style>

@@ -3,0 +3,0 @@ :host {

@@ -20,3 +20,3 @@ {

"../../node_modules/hls.js/dist/hls.mjs": {
"bytes": 994232,
"bytes": 996082,
"imports": [],

@@ -116,3 +116,3 @@ "format": "esm"

"../../node_modules/media-tracks/dist/utils.js": {
"bytes": 369,
"bytes": 365,
"imports": [],

@@ -122,3 +122,3 @@ "format": "esm"

"../../node_modules/media-tracks/dist/video-track-list.js": {
"bytes": 3365,
"bytes": 3349,
"imports": [

@@ -155,3 +155,3 @@ {

"../../node_modules/media-tracks/dist/video-rendition-list.js": {
"bytes": 3874,
"bytes": 3852,
"imports": [

@@ -177,3 +177,3 @@ {

"../../node_modules/media-tracks/dist/video-rendition.js": {
"bytes": 376,
"bytes": 370,
"imports": [

@@ -194,3 +194,3 @@ {

"../../node_modules/media-tracks/dist/video-track.js": {
"bytes": 1131,
"bytes": 1119,
"imports": [

@@ -221,3 +221,3 @@ {

"../../node_modules/media-tracks/dist/audio-rendition-list.js": {
"bytes": 3870,
"bytes": 3848,
"imports": [

@@ -243,3 +243,3 @@ {

"../../node_modules/media-tracks/dist/audio-rendition.js": {
"bytes": 344,
"bytes": 338,
"imports": [

@@ -260,3 +260,3 @@ {

"../../node_modules/media-tracks/dist/audio-track-list.js": {
"bytes": 3063,
"bytes": 3055,
"imports": [

@@ -282,3 +282,3 @@ {

"../../node_modules/media-tracks/dist/audio-track.js": {
"bytes": 988,
"bytes": 982,
"imports": [

@@ -309,3 +309,3 @@ {

"../../node_modules/media-tracks/dist/mixin.js": {
"bytes": 5444,
"bytes": 5440,
"imports": [

@@ -458,3 +458,3 @@ {

"inputs": {},
"bytes": 2334826
"bytes": 2338645
},

@@ -478,3 +478,3 @@ "dist/mux-video.mjs": {

"../../node_modules/hls.js/dist/hls.mjs": {
"bytesInOutput": 393268
"bytesInOutput": 394132
},

@@ -542,5 +542,5 @@ "../playback-core/dist/index.mjs": {

},
"bytes": 555817
"bytes": 556681
}
}
}
{
"name": "@mux/mux-video",
"version": "0.21.0-canary.0-b8ca3a2",
"version": "0.21.0-canary.0-e1d17f4",
"description": "A custom mux video element for the browser that Just Works™",

@@ -69,3 +69,3 @@ "keywords": [

"dependencies": {
"@mux/playback-core": "0.26.0-canary.0-b8ca3a2",
"@mux/playback-core": "0.26.0-canary.0-e1d17f4",
"castable-video": "~1.1.0",

@@ -72,0 +72,0 @@ "custom-media-element": "~1.3.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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