video.js
Advanced tools
Comparing version 8.4.2 to 8.5.0
@@ -326,2 +326,16 @@ export default Component; | ||
/** | ||
* Adds an SVG icon element to another element or component. | ||
* | ||
* @param {string} iconName | ||
* The name of icon. A list of all the icon names can be found at 'sandbox/svg-icons.html' | ||
* | ||
* @param {Element} [el=this.el()] | ||
* Element to set the title on. Defaults to the current Component's element. | ||
* | ||
* @return {Element} | ||
* The newly created icon element. | ||
*/ | ||
setIcon(iconName: string, el?: Element): Element; | ||
iconIsSet_: boolean; | ||
/** | ||
* Add a child `Component` inside the current `Component`. | ||
@@ -328,0 +342,0 @@ * |
@@ -64,2 +64,10 @@ export default MenuButton; | ||
/** | ||
* Overwrites the `setIcon` method from `Component`. | ||
* In this case, we want the icon to be appended to the menuButton. | ||
* | ||
* @param {string} name | ||
* The icon name to be added. | ||
*/ | ||
setIcon(name: string): void; | ||
/** | ||
* Allow sub components to stack CSS class names for the wrapper element | ||
@@ -66,0 +74,0 @@ * |
{ | ||
"name": "video.js", | ||
"description": "An HTML5 video player that supports HLS and DASH with a common API and skin.", | ||
"version": "8.4.2", | ||
"version": "8.5.0", | ||
"main": "./dist/video.cjs.js", | ||
@@ -107,2 +107,3 @@ "module": "./dist/video.es.js", | ||
"@babel/preset-env": "^7.9.0", | ||
"@rollup/plugin-image": "^3.0.2", | ||
"@rollup/plugin-replace": "^2.4.1", | ||
@@ -159,2 +160,3 @@ "@types/node": "^18.8.3", | ||
"rollup-plugin-stub": "^1.2.0", | ||
"rollup-plugin-svg": "^2.0.0", | ||
"sass": "^1.34.0", | ||
@@ -161,0 +163,0 @@ "semver": "^5.7.0", |
@@ -146,3 +146,3 @@ ![Video.js logo][logo] | ||
[options]: docs/guides/options.md | ||
[options]: https://videojs.com/guides/options/ | ||
@@ -149,0 +149,0 @@ [plugins]: https://videojs.com/plugins/ |
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 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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16172603
410
390067
68
2