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

@mux/mux-player

Package Overview
Dependencies
Maintainers
0
Versions
601
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mux/mux-player - npm Package Compare versions

Comparing version 2.9.1 to 3.0.0-canary.0-2577b78

CHANGELOG.md

17

dist/types-ts3.4/index.d.ts

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

/// <reference types="mux-embed/dist/types/mux-embed" />
import { MediaController } from 'media-chrome';

@@ -6,3 +5,3 @@ import 'media-chrome/dist/experimental/index.js';

import { StreamTypes, PlaybackTypes, CmcdTypes } from '@mux/playback-core';
import { ValueOf, Metadata, PlaybackEngine, MaxResolutionValue, MinResolutionValue, RenditionOrderValue } from '@mux/playback-core';
import { ValueOf, Metadata, PlaybackEngine, MaxResolutionValue, MinResolutionValue, RenditionOrderValue, Chapter, CuePoint } from '@mux/playback-core';
import VideoApiElement from './video-api';

@@ -285,6 +284,3 @@ import { AttributeTokenList } from './helpers';

_hlsConfig: Readonly<Partial<HlsConfig>> | undefined;
addCuePoints<T = any>(cuePoints: {
time: number;
value: T;
}[]): Promise<TextTrack | undefined>;
addCuePoints<T = any>(cuePoints: CuePoint<T>[]): Promise<TextTrack | undefined>;
readonly activeCuePoint: {

@@ -298,7 +294,3 @@ time: number;

}[];
addChapters(chapters: {
startTime: number;
endTime: number;
value: string;
}[]): Promise<TextTrack> | undefined;
addChapters(chapters: Chapter[]): Promise<TextTrack> | undefined;
readonly activeChapter: {

@@ -354,4 +346,7 @@ startTime: number;

readonly textTracks: TextTrackList | undefined;
castReceiver: string | undefined;
castCustomData: Record<string, any> | undefined;
noTooltips: boolean;
}
export declare function getVideoAttribute(el: MuxPlayerElement, name: string): string | null;
export default MuxPlayerElement;
import { MediaThemeElement } from 'media-chrome/dist/media-theme-element.js';
import 'media-chrome/menu';
declare class MediaThemeClassic extends MediaThemeElement {
static template: Element;
static template: HTMLTemplateElement;
}
export default MediaThemeClassic;
import { MediaThemeElement } from 'media-chrome/dist/media-theme-element.js';
import 'media-chrome/menu';
declare class MediaThemeGerwig extends MediaThemeElement {
static template: Element;
static template: HTMLTemplateElement;
}
export default MediaThemeGerwig;

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

export * from 'media-chrome/dist/themes/microvideo.js';
export * from 'player.style/microvideo';

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

export * from 'media-chrome/dist/themes/minimal.js';
export * from 'player.style/minimal';

@@ -63,4 +63,4 @@ import { globalThis } from './polyfills';

playsInline: boolean;
preload: "" | "metadata" | "none" | "auto";
preload: HTMLVideoElement["preload"];
}
export default VideoApiElement;

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

/// <reference types="mux-embed/dist/types/mux-embed" />
import { MediaController } from 'media-chrome';

@@ -6,3 +5,3 @@ import 'media-chrome/dist/experimental/index.js';

import { StreamTypes, PlaybackTypes, CmcdTypes } from '@mux/playback-core';
import type { ValueOf, Metadata, PlaybackEngine, MaxResolutionValue, MinResolutionValue, RenditionOrderValue } from '@mux/playback-core';
import type { ValueOf, Metadata, PlaybackEngine, MaxResolutionValue, MinResolutionValue, RenditionOrderValue, Chapter, CuePoint } from '@mux/playback-core';
import VideoApiElement from './video-api';

@@ -326,6 +325,3 @@ import { AttributeTokenList } from './helpers';

set _hlsConfig(val: Readonly<Partial<HlsConfig>> | undefined);
addCuePoints<T = any>(cuePoints: {
time: number;
value: T;
}[]): Promise<TextTrack | undefined>;
addCuePoints<T = any>(cuePoints: CuePoint<T>[]): Promise<TextTrack | undefined>;
get activeCuePoint(): {

@@ -339,7 +335,3 @@ time: number;

}[];
addChapters(chapters: {
startTime: number;
endTime: number;
value: string;
}[]): Promise<TextTrack> | undefined;
addChapters(chapters: Chapter[]): Promise<TextTrack> | undefined;
get activeChapter(): {

@@ -400,4 +392,10 @@ startTime: number;

get textTracks(): TextTrackList | undefined;
get castReceiver(): string | undefined;
set castReceiver(val: string | undefined);
get castCustomData(): Record<string, any> | undefined;
set castCustomData(val: Record<string, any> | undefined);
get noTooltips(): boolean;
set noTooltips(val: boolean);
}
export declare function getVideoAttribute(el: MuxPlayerElement, name: string): string | null;
export default MuxPlayerElement;
import { MediaThemeElement } from 'media-chrome/dist/media-theme-element.js';
import 'media-chrome/menu';
declare class MediaThemeClassic extends MediaThemeElement {
static template: Element;
static template: HTMLTemplateElement;
}
export default MediaThemeClassic;
import { MediaThemeElement } from 'media-chrome/dist/media-theme-element.js';
import 'media-chrome/menu';
declare class MediaThemeGerwig extends MediaThemeElement {
static template: Element;
static template: HTMLTemplateElement;
}
export default MediaThemeGerwig;

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

export * from 'media-chrome/dist/themes/microvideo.js';
export * from 'player.style/microvideo';

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

export * from 'media-chrome/dist/themes/minimal.js';
export * from 'player.style/minimal';

@@ -73,5 +73,5 @@ import { globalThis } from './polyfills';

set playsInline(val: boolean);
get preload(): "" | "metadata" | "none" | "auto";
set preload(val: "" | "metadata" | "none" | "auto");
get preload(): HTMLVideoElement["preload"];
set preload(val: HTMLVideoElement["preload"]);
}
export default VideoApiElement;
{
"name": "@mux/mux-player",
"version": "2.9.1",
"version": "3.0.0-canary.0-2577b78",
"description": "An open source Mux player web component that Just Works™",

@@ -73,3 +73,3 @@ "homepage": "https://mux.com/player",

"clean": "shx rm -rf dist/ && shx rm -rf src/polyfills",
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint src/ --ext .js,.jsx,.ts,.tsx",
"test": "web-test-runner **/*test.js --port 8001 --coverage --config test/web-test-runner.config.mjs --root-dir ../..",

@@ -98,5 +98,6 @@ "posttest": "replace 'SF:src/' 'SF:packages/mux-player/src/' coverage/lcov.info --silent",

"dependencies": {
"@mux/mux-video": "0.20.2",
"@mux/playback-core": "0.25.2",
"media-chrome": "~3.2.5"
"@mux/mux-video": "0.21.0-canary.0-2577b78",
"@mux/playback-core": "0.26.0-canary.0-2577b78",
"media-chrome": "~4.1.1",
"player.style": "^0.0.8"
},

@@ -106,4 +107,4 @@ "devDependencies": {

"@open-wc/testing": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@web/dev-server-esbuild": "^1.0.2",

@@ -115,3 +116,3 @@ "@web/dev-server-import-maps": "^0.2.1",

"esbuild": "^0.19.8",
"eslint": "^8.24.0",
"eslint": "^9.9.1",
"hls.js": "~1.5.11",

@@ -121,5 +122,4 @@ "npm-run-all": "^4.1.5",

"shx": "^0.3.4",
"typescript": "^4.9.4"
},
"gitHead": "94210d8ddb22e9d15369329ced978781eebf3402"
"typescript": "^5.5.4"
}
}

@@ -8,6 +8,10 @@ <p align="center">

# New release: 2.0
# New release: 3.0
Mux Player has recently released 2.0. See the [[https://github.com/muxinc/elements/blob/packages/mux-player/UPGRADING_V1_to_V2.md](https://github.com/muxinc/elements/blob/main/packages/mux-player/UPGRADING_V1_to_V2.md) and the [blog post announcement](https://www.mux.com/blog/mux-player-2-0-for-web-and-coming-soon-for-ios-and-android).
Mux Player recently released 3.0. The most visible change in this is new tooltips that are enabled by default, as well as [other fixes and changes](https://docs.mux.com/guides/player-releases-web#300).
## Previous version: 2.0
For changes relating to the previous major release, 2.0, see the [V1 to V2 upgrade guide](https://github.com/muxinc/elements/blob/main/packages/mux-player/UPGRADING_V1_to_V2.md) and the [blog post announcement](https://www.mux.com/blog/mux-player-2-0-for-web-and-coming-soon-for-ios-and-android).
# Introduction

@@ -14,0 +18,0 @@

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 too big to display

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 too big to display

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 too big to display

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 too big to display

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 too big to display

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