Socket
Socket
Sign inDemoInstall

video.js

Package Overview
Dependencies
Maintainers
21
Versions
478
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

video.js - npm Package Compare versions

Comparing version 8.6.0 to 8.6.1

99

dist/lang/ca.js
videojs.addLanguage('ca', {
"Play": "Reproducció",
"Audio Player": "Reproductor d'àudio",
"Video Player": "Reproductor de vídeo",
"Play": "Reproduir",
"Pause": "Pausa",
"Current Time": "Temps reproduït",
"Duration": "Durada total",
"Replay": "Repetir",
"Current Time": "Temps actual",
"Duration": "Durada",
"Remaining Time": "Temps restant",
"Stream Type": "Tipus de seqüència",
"Stream Type": "Tipus d'emissió",
"LIVE": "EN DIRECTE",
"Seek to live, currently behind live": "Anar en directe, actualment darrere de la retransmissió en directe",
"Seek to live, currently playing live": "Anar en directe, actualment en directe",
"Loaded": "Carregat",
"Progress": "Progrés",
"Progress Bar": "Barra de progrés",
"progress bar timing: currentTime={1} duration={2}": "{1} de {2}",
"Fullscreen": "Pantalla completa",
"Exit Fullscreen": "Pantalla no completa",
"Mute": "Silencia",
"Unmute": "Amb so",
"Exit Fullscreen": "Sortir de pantalla completa",
"Mute": "Silenciar",
"Unmute": "Activar el so",
"Playback Rate": "Velocitat de reproducció",
"Subtitles": "Subtítols",
"subtitles off": "Subtítols desactivats",
"subtitles off": "Desactivar subtítols",
"Captions": "Llegendes",
"captions off": "Llegendes desactivades",
"captions off": "Desactivar llegendes",
"Chapters": "Capítols",
"You aborted the media playback": "Heu interromput la reproducció del vídeo.",
"A network error caused the media download to fail part-way.": "Un error de la xarxa ha interromput la baixada del vídeo.",
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "No s'ha pogut carregar el vídeo perquè el servidor o la xarxa han fallat, o bé perquè el seu format no és compatible.",
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La reproducció de vídeo s'ha interrumput per un problema de corrupció de dades o bé perquè el vídeo demanava funcions que el vostre navegador no ofereix.",
"No compatible source was found for this media.": "No s'ha trobat cap font compatible amb el vídeo."
"Descriptions": "Descripcions",
"descriptions off": "Desactivar descripcions",
"Audio Track": "Pista d'àudio",
"Volume Level": "Nivell de volum",
"You aborted the media playback": "Has interromput la reproducció del contingut",
"A network error caused the media download to fail part-way.": "Un error de xarxa ha interromput la descàrrega del contingut.",
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "No s'ha pogut carregar el contingut, ja sigui perquè el servidor o la xarxa han fallat o perquè el format no està suportat.",
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La reproducció del contingut s'ha interromput a causa d'un problema de corrupció o perquè el contingut fa servir funcions que el teu navegador no suporta.",
"No compatible source was found for this media.": "No s'ha trobat una font compatible per a aquest contingut.",
"The media is encrypted and we do not have the keys to decrypt it.": "El contingut està xifrat i no disposem de les claus per desxifrar-lo.",
"Play Video": "Reproduir vídeo",
"Close": "Tancar",
"Close Modal Dialog": "Tancar el diàleg modal",
"Modal Window": "Finestra modal",
"This is a modal window": "Aquesta és una finestra modal",
"This modal can be closed by pressing the Escape key or activating the close button.": "Aquesta finestra es pot tancar prement la tecla Escape o activant el botó de tancar.",
", opens captions settings dialog": ", obre el diàleg de configuració de subtítols",
", opens subtitles settings dialog": ", obre el diàleg de configuració de subtítols",
", opens descriptions settings dialog": ", obre el diàleg de configuració de descripcions",
", selected": ", seleccionat",
"captions settings": "configuració de subtítols",
"subtitles settings": "configuració de subtítols",
"descriptions settings": "configuració de descripcions",
"Text": "Text",
"White": "Blanc",
"Black": "Negre",
"Red": "Vermell",
"Green": "Verd",
"Blue": "Blau",
"Yellow": "Groc",
"Magenta": "Magenta",
"Cyan": "Cian",
"Background": "Fons",
"Window": "Finestra",
"Transparent": "Transparent",
"Semi-Transparent": "Semi-transparent",
"Opaque": "Opac",
"Font Size": "Mida de la lletra",
"Text Edge Style": "Estil de la vora del text",
"None": "Cap",
"Raised": "Rellevat",
"Depressed": "Premut",
"Uniform": "Uniforme",
"Drop shadow": "Ombra",
"Font Family": "Família tipogràfica",
"Proportional Sans-Serif": "Sense serif proporcional",
"Monospace Sans-Serif": "Monoespaiada sense serif",
"Proportional Serif": "Serif proporcional",
"Monospace Serif": "Monoespaiada amb serif",
"Casual": "Desenfadada",
"Script": "Script",
"Small Caps": "Minúscules",
"Reset": "Restablir",
"restore all settings to the default values": "restaurar totes les configuracions als valors predeterminats",
"Done": "Fet",
"Caption Settings Dialog": "Diàleg de configuració de subtítols",
"Beginning of dialog window. Escape will cancel and close the window.": "Inici del diàleg. L'Escape cancel·larà i tancarà la finestra.",
"End of dialog window.": "Fi del diàleg.",
"{1} is loading.": "S'està carregant {1}.",
"Exit Picture-in-Picture": "Sortir de la imatge en imatge",
"Picture-in-Picture": "Imatge en imatge",
"No content": "Sense contingut",
"Color": "Color",
"Opacity": "Opacitat",
"Text Background": "Fons del text",
"Caption Area Background": "Fons de l'àrea de subtítols",
"Playing in Picture-in-Picture": "Reproduint en imatge en imatge",
"Skip backward {1} seconds": "Salta enrere {1} segons",
"Skip forward {1} seconds": "Salta endavant {1} segons"
});
{
"Play": "Reproducció",
"Audio Player": "Reproductor d'àudio",
"Video Player": "Reproductor de vídeo",
"Play": "Reproduir",
"Pause": "Pausa",
"Current Time": "Temps reproduït",
"Duration": "Durada total",
"Replay": "Repetir",
"Current Time": "Temps actual",
"Duration": "Durada",
"Remaining Time": "Temps restant",
"Stream Type": "Tipus de seqüència",
"Stream Type": "Tipus d'emissió",
"LIVE": "EN DIRECTE",
"Seek to live, currently behind live": "Anar en directe, actualment darrere de la retransmissió en directe",
"Seek to live, currently playing live": "Anar en directe, actualment en directe",
"Loaded": "Carregat",
"Progress": "Progrés",
"Progress Bar": "Barra de progrés",
"progress bar timing: currentTime={1} duration={2}": "{1} de {2}",
"Fullscreen": "Pantalla completa",
"Exit Fullscreen": "Pantalla no completa",
"Mute": "Silencia",
"Unmute": "Amb so",
"Exit Fullscreen": "Sortir de pantalla completa",
"Mute": "Silenciar",
"Unmute": "Activar el so",
"Playback Rate": "Velocitat de reproducció",
"Subtitles": "Subtítols",
"subtitles off": "Subtítols desactivats",
"subtitles off": "Desactivar subtítols",
"Captions": "Llegendes",
"captions off": "Llegendes desactivades",
"captions off": "Desactivar llegendes",
"Chapters": "Capítols",
"You aborted the media playback": "Heu interromput la reproducció del vídeo.",
"A network error caused the media download to fail part-way.": "Un error de la xarxa ha interromput la baixada del vídeo.",
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "No s'ha pogut carregar el vídeo perquè el servidor o la xarxa han fallat, o bé perquè el seu format no és compatible.",
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La reproducció de vídeo s'ha interrumput per un problema de corrupció de dades o bé perquè el vídeo demanava funcions que el vostre navegador no ofereix.",
"No compatible source was found for this media.": "No s'ha trobat cap font compatible amb el vídeo."
"Descriptions": "Descripcions",
"descriptions off": "Desactivar descripcions",
"Audio Track": "Pista d'àudio",
"Volume Level": "Nivell de volum",
"You aborted the media playback": "Has interromput la reproducció del contingut",
"A network error caused the media download to fail part-way.": "Un error de xarxa ha interromput la descàrrega del contingut.",
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "No s'ha pogut carregar el contingut, ja sigui perquè el servidor o la xarxa han fallat o perquè el format no està suportat.",
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La reproducció del contingut s'ha interromput a causa d'un problema de corrupció o perquè el contingut fa servir funcions que el teu navegador no suporta.",
"No compatible source was found for this media.": "No s'ha trobat una font compatible per a aquest contingut.",
"The media is encrypted and we do not have the keys to decrypt it.": "El contingut està xifrat i no disposem de les claus per desxifrar-lo.",
"Play Video": "Reproduir vídeo",
"Close": "Tancar",
"Close Modal Dialog": "Tancar el diàleg modal",
"Modal Window": "Finestra modal",
"This is a modal window": "Aquesta és una finestra modal",
"This modal can be closed by pressing the Escape key or activating the close button.": "Aquesta finestra es pot tancar prement la tecla Escape o activant el botó de tancar.",
", opens captions settings dialog": ", obre el diàleg de configuració de subtítols",
", opens subtitles settings dialog": ", obre el diàleg de configuració de subtítols",
", opens descriptions settings dialog": ", obre el diàleg de configuració de descripcions",
", selected": ", seleccionat",
"captions settings": "configuració de subtítols",
"subtitles settings": "configuració de subtítols",
"descriptions settings": "configuració de descripcions",
"Text": "Text",
"White": "Blanc",
"Black": "Negre",
"Red": "Vermell",
"Green": "Verd",
"Blue": "Blau",
"Yellow": "Groc",
"Magenta": "Magenta",
"Cyan": "Cian",
"Background": "Fons",
"Window": "Finestra",
"Transparent": "Transparent",
"Semi-Transparent": "Semi-transparent",
"Opaque": "Opac",
"Font Size": "Mida de la lletra",
"Text Edge Style": "Estil de la vora del text",
"None": "Cap",
"Raised": "Rellevat",
"Depressed": "Premut",
"Uniform": "Uniforme",
"Drop shadow": "Ombra",
"Font Family": "Família tipogràfica",
"Proportional Sans-Serif": "Sense serif proporcional",
"Monospace Sans-Serif": "Monoespaiada sense serif",
"Proportional Serif": "Serif proporcional",
"Monospace Serif": "Monoespaiada amb serif",
"Casual": "Desenfadada",
"Script": "Script",
"Small Caps": "Minúscules",
"Reset": "Restablir",
"restore all settings to the default values": "restaurar totes les configuracions als valors predeterminats",
"Done": "Fet",
"Caption Settings Dialog": "Diàleg de configuració de subtítols",
"Beginning of dialog window. Escape will cancel and close the window.": "Inici del diàleg. L'Escape cancel·larà i tancarà la finestra.",
"End of dialog window.": "Fi del diàleg.",
"{1} is loading.": "S'està carregant {1}.",
"Exit Picture-in-Picture": "Sortir de la imatge en imatge",
"Picture-in-Picture": "Imatge en imatge",
"No content": "Sense contingut",
"Color": "Color",
"Opacity": "Opacitat",
"Text Background": "Fons del text",
"Caption Area Background": "Fons de l'àrea de subtítols",
"Playing in Picture-in-Picture": "Reproduint en imatge en imatge",
"Skip backward {1} seconds": "Salta enrere {1} segons",
"Skip forward {1} seconds": "Salta endavant {1} segons"
}

15

dist/types/big-play-button.d.ts

@@ -15,3 +15,3 @@ export default BigPlayButton;

*
* @param {KeyboardEvent} event
* @param {KeyboardEvent|MouseEvent|TouchEvent} event
* The `keydown`, `tap`, or `click` event that caused this function to be

@@ -23,7 +23,14 @@ * called.

*/
handleClick(event: KeyboardEvent): void;
handleKeyDown(event: any): void;
handleMouseDown(event: any): void;
handleClick(event: KeyboardEvent | MouseEvent | TouchEvent): void;
/**
* Handle `mousedown` events on the `BigPlayButton`.
*
* @param {MouseEvent} event
* `mousedown` or `touchstart` event that triggered this function
*
* @listens mousedown
*/
handleMouseDown(event: MouseEvent): void;
}
import Button from "./button.js";
//# sourceMappingURL=big-play-button.d.ts.map

@@ -86,16 +86,4 @@ export default ClickableComponent;

handleClick(event: Event, ...args: any[]): void;
/**
* Event handler that is called when a `ClickableComponent` receives a
* `keydown` event.
*
* By default, if the key is Space or Enter, it will trigger a `click` event.
*
* @param {Event} event
* The `keydown` event that caused this function to be called.
*
* @listens keydown
*/
handleKeyDown(event: Event): void;
}
import Component from "./component";
//# sourceMappingURL=clickable-component.d.ts.map

@@ -342,3 +342,2 @@ export default Component;

*
*
* @param {string|Component} child

@@ -354,2 +353,3 @@ * The name or instance of a child to add.

*
*
* @return {Component}

@@ -547,7 +547,6 @@ * The `Component` that gets added as a child. When using a string the

*
* @return {number|string}
* The width when getting, zero if there is no width. Can be a string
* postpixed with '%' or 'px'.
* @return {number|undefined}
* The width when getting, zero if there is no width
*/
width(num?: number | string, skipListeners?: boolean): number | string;
width(num?: number | string, skipListeners?: boolean): number | undefined;
/**

@@ -563,7 +562,6 @@ * Get or set the height of the component based upon the CSS styles.

*
* @return {number|string}
* The width when getting, zero if there is no width. Can be a string
* postpixed with '%' or 'px'.
* @return {number|undefined}
* The height when getting, zero if there is no height
*/
height(num?: number | string, skipListeners?: boolean): number | string;
height(num?: number | string, skipListeners?: boolean): number | undefined;
/**

@@ -604,6 +602,6 @@ * Set both the width and height of the `Component` element at the same time.

*
* @return {number}
* @return {number|undefined}
* The dimension when getting or 0 if unset
*/
dimension(widthOrHeight: string, num?: number | string, skipListeners?: boolean): number;
dimension(widthOrHeight: string, num?: number | string, skipListeners?: boolean): number | undefined;
/**

@@ -684,6 +682,6 @@ * Get the computed width or the height of the component's element.

*
* @param {Event} event
* @param {KeyboardEvent} event
* The event that caused this function to be called.
*/
handleKeyPress(event: Event): void;
handleKeyPress(event: KeyboardEvent): void;
/**

@@ -694,3 +692,3 @@ * Emit a 'tap' events when touch event support gets detected. This gets used to

*
* @private
* @protected
* @fires Component#tap

@@ -704,3 +702,3 @@ * @listens Component#touchstart

*/
private emitTapEvents;
protected emitTapEvents(): void;
/**

@@ -707,0 +705,0 @@ * This function reports user activity whenever touch events happen. This can get

@@ -85,4 +85,14 @@ export default VolumePanel;

handleMouseOut(event: Event): void;
/**
* Handles `keyup` event on the document or `keydown` event on the `VolumePanel`,
* looking for ESC, which hides the `VolumeControl`.
*
* @param {Event} event
* The keypress that triggered this event.
*
* @listens keydown | keyup
*/
handleKeyPress(event: Event): void;
}
import Component from "../component.js";
//# sourceMappingURL=volume-panel.d.ts.map

@@ -7,5 +7,5 @@ export default EventTarget;

/**
* ~EventListener
* All event listeners should follow the following format.
*/
export type EventTarget = () => any;
export type EventListener = () => any;
/**

@@ -96,3 +96,3 @@ * `EventTarget` is a class that can have the same API as the DOM `EventTarget`. It

*
* @callback EventTarget~EventListener
* @callback EventListener
* @this {EventTarget}

@@ -113,5 +113,5 @@ *

* @property EventTarget.prototype.allowedEvents_
* @private
* @protected
*/
private allowedEvents_;
protected allowedEvents_: {};
/**

@@ -118,0 +118,0 @@ * An alias of {@link EventTarget#off}. Allows `EventTarget` to mimic

@@ -86,11 +86,2 @@ export default Menu;

/**
* Handle a `keydown` event on this menu. This listener is added in the constructor.
*
* @param {Event} event
* A `keydown` event that happened on the menu.
*
* @listens keydown
*/
handleKeyDown(event: Event): void;
/**
* Move to next (lower) menu item for keyboard users.

@@ -97,0 +88,0 @@ */

@@ -8,4 +8,4 @@ export default Player;

* 1. By calling `videojs.getPlayer('example_video_1');`
* 2. By calling `videojs('example_video_1');` (not recomended)
* 2. By using it directly via `videojs.players.example_video_1;`
* 2. By calling `videojs('example_video_1');` (not recommended)
* 2. By using it directly via `videojs.players.example_video_1;`
*

@@ -969,14 +969,2 @@ * @extends Component

/**
* Called when this Player has focus and a key gets pressed down, or when
* any Component of this player receives a key press that it doesn't handle.
* This allows player-wide hotkeys (either as defined below, or optionally
* by an external function).
*
* @param {Event} event
* The `keydown` event that caused this function to be called.
*
* @listens keydown
*/
handleKeyDown(event: Event): void;
/**
* Called when this Player receives a hotkey keydown event.

@@ -983,0 +971,0 @@ * Supported player-wide hotkeys are:

export default Plugin;
/**
* ~PluginEventHash
*/
export type Plugin = {
export type PluginEventHash = {
/**

@@ -129,6 +126,6 @@ * For basic plugins, the return value of the plugin function. For

*
* @return {Plugin~PluginEventHash}
* @return {PluginEventHash}
* An event hash object with provided properties mixed-in.
*/
getEventHash(hash?: any): Plugin;
getEventHash(hash?: any): PluginEventHash;
/**

@@ -143,3 +140,3 @@ * Triggers an event on the plugin object and overrides

* Additional data hash to merge with a
* {@link Plugin~PluginEventHash|PluginEventHash}.
* {@link PluginEventHash|PluginEventHash}.
*

@@ -146,0 +143,0 @@ * @return {boolean}

export default Tech;
/**
* ~SourceObject
* An Object containing a structure like: `{src: 'url', type: 'mimetype'}` or string
* that just contains the src url alone.
* * `var SourceObject = {src: 'http://ex.com/video.mp4', type: 'video/mp4'};`
* `var SourceString = 'http://example.com/some-video.mp4';`
*/
export type Tech = any | string;
export type SourceObject = any | string;
/**

@@ -235,7 +238,7 @@ * This is the base class for media playback technology controllers, such as

*
* @return {TimeRange}
* @return { import('../utils/time').TimeRange }
* - A single time range if this video has played
* - An empty set of ranges if not.
*/
played(): TimeRange;
played(): import('../utils/time').TimeRange;
/**

@@ -242,0 +245,0 @@ * Start playback

@@ -12,6 +12,6 @@ export default AudioTrackList;

*
* @param {AudioTrack[]} [tracks=[]]
* @param { import('./audio-track').default[] } [tracks=[]]
* A list of `AudioTrack` to instantiate the list with.
*/
constructor(tracks?: AudioTrack[]);
constructor(tracks?: import('./audio-track').default[]);
changing_: boolean;

@@ -18,0 +18,0 @@ /**

@@ -51,3 +51,6 @@ export default HTMLTrackElement;

default: any;
allowedEvents_: {
/**
* @protected
*/
protected allowedEvents_: {
load: string;

@@ -54,0 +57,0 @@ };

@@ -72,4 +72,5 @@ export default TextTrack;

* cuechange - One or more cues in the track have become active or stopped being active.
* @protected
*/
allowedEvents_: {
protected allowedEvents_: {
cuechange: string;

@@ -76,0 +77,0 @@ };

@@ -56,7 +56,12 @@ export default TrackList;

* @property {Object} TrackList#allowedEvents_
* @private
* @protected
*/
private allowedEvents_;
protected allowedEvents_: {
change: string;
addtrack: string;
removetrack: string;
labelchange: string;
};
}
import EventTarget from "../event-target";
//# sourceMappingURL=track-list.d.ts.map

@@ -7,2 +7,3 @@ export default videojs;

export type ReadyCallback = () => any;
export type version = string;
/**

@@ -136,9 +137,9 @@ * A callback that is called when a component is ready. Does not have any

*
* @param {Component} comp
* @param {typeof Component} comp
* The component class
*
* @return {Component}
* @return {typeof Component}
* The newly registered component
*/
export function registerComponent(name: string, comp: Component): Component;
export function registerComponent(name: string, comp: typeof Component): typeof Component;
export const getTech: typeof Tech.getTech;

@@ -164,7 +165,9 @@ export const registerTech: typeof Tech.registerTech;

* The plugin name
*
* @param {typeof Plugin|Function} plugin
* The plugin sub-class or function
*
* @param {Plugin|Function} plugin
* The plugin sub-class or function
* @return {typeof Plugin|Function}
*/
export function plugin(name: string, plugin: Function | Plugin): Function | typeof Plugin;
export function plugin(name: string, plugin: Function | typeof Plugin): Function | typeof Plugin;
export const getPlugins: typeof Plugin.getPlugins;

@@ -171,0 +174,0 @@ export const getPlugin: (name: string) => Function | typeof Plugin;

{
"name": "video.js",
"description": "An HTML5 video player that supports HLS and DASH with a common API and skin.",
"version": "8.6.0",
"version": "8.6.1",
"main": "./dist/video.cjs.js",

@@ -89,3 +89,3 @@ "module": "./dist/video.es.js",

"@babel/runtime": "^7.12.5",
"@videojs/http-streaming": "3.6.0",
"@videojs/http-streaming": "3.7.0",
"@videojs/vhs-utils": "^4.0.0",

@@ -98,3 +98,3 @@ "@videojs/xhr": "2.6.0",

"mpd-parser": "^1.0.1",
"mux.js": "^6.2.0",
"mux.js": "^7.0.1",
"safe-json-parse": "4.0.0",

@@ -101,0 +101,0 @@ "videojs-contrib-quality-levels": "4.0.0",

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

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

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 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

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

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

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

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 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

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