Socket
Socket
Sign inDemoInstall

video.js

Package Overview
Dependencies
24
Maintainers
21
Versions
466
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.12.0 to 8.13.0

dist/types/spatial-navigation.d.ts

46

dist/types/component.d.ts

@@ -656,2 +656,13 @@ export default Component;

/**
* Retrieves the position and size information of the component's element.
*
* @return {Object} An object with `boundingClientRect` and `center` properties.
* - `boundingClientRect`: An object with properties `x`, `y`, `width`,
* `height`, `top`, `right`, `bottom`, and `left`, representing
* the bounding rectangle of the element.
* - `center`: An object with properties `x` and `y`, representing
* the center point of the element. `width` and `height` are set to 0.
*/
getPositions(): any;
/**
* Set the focus to this component

@@ -881,3 +892,38 @@ */

private clearTimersOnDispose_;
/**
* Decide whether an element is actually disabled or not.
*
* @function isActuallyDisabled
* @param element {Node}
* @return {boolean}
*
* @see {@link https://html.spec.whatwg.org/multipage/semantics-other.html#concept-element-disabled}
*/
getIsDisabled(): boolean;
/**
* Decide whether the element is expressly inert or not.
*
* @see {@link https://html.spec.whatwg.org/multipage/interaction.html#expressly-inert}
* @function isExpresslyInert
* @param element {Node}
* @return {boolean}
*/
getIsExpresslyInert(): boolean;
/**
* Determine whether or not this component can be considered as focusable component.
*
* @param {HTMLElement} el - The HTML element representing the component.
* @return {boolean}
* If the component can be focused, will be `true`. Otherwise, `false`.
*/
getIsFocusable(el: HTMLElement): boolean;
/**
* Determine whether or not this component is currently visible/enabled/etc...
*
* @param {HTMLElement} el - The HTML element representing the component.
* @return {boolean}
* If the component can is currently visible & enabled, will be `true`. Otherwise, `false`.
*/
getIsAvailableToBeFocused(el: HTMLElement): boolean;
}
//# sourceMappingURL=component.d.ts.map

2

dist/types/modal-dialog.d.ts

@@ -13,3 +13,3 @@ export default ModalDialog;

/**
* Create an instance of this class.
* Creates an instance of this class.
*

@@ -16,0 +16,0 @@ * @param { import('./player').default } player

@@ -77,2 +77,3 @@ export default Player;

middleware_: any[];
spatialNavigation: SpatialNavigation;
/**

@@ -1767,2 +1768,6 @@ * Destroys the video player and does any necessary cleanup.

audioPosterMode: boolean;
spatialNavigation: {
enabled: boolean;
horizontalSeek: boolean;
};
enableSmoothSeeking: boolean;

@@ -1775,2 +1780,3 @@ };

import Component from "./component.js";
import SpatialNavigation from "./spatial-navigation.js";
import Tech from "./tech/tech.js";

@@ -1777,0 +1783,0 @@ import MediaError from "./media-error.js";

@@ -23,76 +23,5 @@ export default TextTrackSettings;

endDialog: Element;
renderModalComponents(player: any): void;
bindFunctionsToSelectsAndButtons(): void;
/**
* Create a <select> element with configured options.
*
* @param {string} key
* Configuration key to use during creation.
*
* @param {string} [legendId]
* Id of associated <legend>.
*
* @param {string} [type=label]
* Type of labelling element, `label` or `legend`
*
* @return {string}
* An HTML string.
*
* @private
*/
private createElSelect_;
/**
* Create foreground color element for the component
*
* @return {string}
* An HTML string.
*
* @private
*/
private createElFgColor_;
/**
* Create background color element for the component
*
* @return {string}
* An HTML string.
*
* @private
*/
private createElBgColor_;
/**
* Create window color element for the component
*
* @return {string}
* An HTML string.
*
* @private
*/
private createElWinColor_;
/**
* Create color elements for the component
*
* @return {Element}
* The element that was created
*
* @private
*/
private createElColors_;
/**
* Create font elements for the component
*
* @return {Element}
* The element that was created.
*
* @private
*/
private createElFont_;
/**
* Create controls for the component
*
* @return {Element}
* The element that was created.
*
* @private
*/
private createElControls_;
content(): Element[];
/**
* Gets an object of text track settings (or null).

@@ -99,0 +28,0 @@ *

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

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

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

@@ -92,0 +92,0 @@ "@videojs/xhr": "2.6.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 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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc