video.js
Advanced tools
Comparing version 8.7.0 to 8.8.0
@@ -758,2 +758,67 @@ export default Player; | ||
/** | ||
* Get the TimeRanges of the media that are currently available | ||
* for seeking to. | ||
* | ||
* @see [Seekable Spec]{@link https://html.spec.whatwg.org/multipage/media.html#dom-media-seekable} | ||
* | ||
* @return { import('./utils/time').TimeRange } | ||
* A mock {@link TimeRanges} object (following HTML spec) | ||
*/ | ||
seekable(): import('./utils/time').TimeRange; | ||
/** | ||
* Returns whether the player is in the "seeking" state. | ||
* | ||
* @return {boolean} True if the player is in the seeking state, false if not. | ||
*/ | ||
seeking(): boolean; | ||
/** | ||
* Returns whether the player is in the "ended" state. | ||
* | ||
* @return {boolean} True if the player is in the ended state, false if not. | ||
*/ | ||
ended(): boolean; | ||
/** | ||
* Returns the current state of network activity for the element, from | ||
* the codes in the list below. | ||
* - NETWORK_EMPTY (numeric value 0) | ||
* The element has not yet been initialised. All attributes are in | ||
* their initial states. | ||
* - NETWORK_IDLE (numeric value 1) | ||
* The element's resource selection algorithm is active and has | ||
* selected a resource, but it is not actually using the network at | ||
* this time. | ||
* - NETWORK_LOADING (numeric value 2) | ||
* The user agent is actively trying to download data. | ||
* - NETWORK_NO_SOURCE (numeric value 3) | ||
* The element's resource selection algorithm is active, but it has | ||
* not yet found a resource to use. | ||
* | ||
* @see https://html.spec.whatwg.org/multipage/embedded-content.html#network-states | ||
* @return {number} the current network activity state | ||
*/ | ||
networkState(): number; | ||
/** | ||
* Returns a value that expresses the current state of the element | ||
* with respect to rendering the current playback position, from the | ||
* codes in the list below. | ||
* - HAVE_NOTHING (numeric value 0) | ||
* No information regarding the media resource is available. | ||
* - HAVE_METADATA (numeric value 1) | ||
* Enough of the resource has been obtained that the duration of the | ||
* resource is available. | ||
* - HAVE_CURRENT_DATA (numeric value 2) | ||
* Data for the immediate current playback position is available. | ||
* - HAVE_FUTURE_DATA (numeric value 3) | ||
* Data for the immediate current playback position is available, as | ||
* well as enough data for the user agent to advance the current | ||
* playback position in the direction of playback. | ||
* - HAVE_ENOUGH_DATA (numeric value 4) | ||
* The user agent estimates that enough data is available for | ||
* playback to proceed uninterrupted. | ||
* | ||
* @see https://html.spec.whatwg.org/multipage/embedded-content.html#dom-media-readystate | ||
* @return {number} the current playback rendering state | ||
*/ | ||
readyState(): number; | ||
/** | ||
* Get the percent (as a decimal) of the video that's been downloaded. | ||
@@ -760,0 +825,0 @@ * This method is not a part of the native HTML video API. |
{ | ||
"name": "video.js", | ||
"description": "An HTML5 video player that supports HLS and DASH with a common API and skin.", | ||
"version": "8.7.0", | ||
"version": "8.8.0", | ||
"main": "./dist/video.cjs.js", | ||
@@ -89,3 +89,3 @@ "module": "./dist/video.es.js", | ||
"@babel/runtime": "^7.12.5", | ||
"@videojs/http-streaming": "3.8.0", | ||
"@videojs/http-streaming": "3.9.0", | ||
"@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 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 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
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
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
16754819
404766
+ Added@videojs/http-streaming@3.9.0(transitive)
- Removed@videojs/http-streaming@3.8.0(transitive)