mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
[@types/video.js] Add methods seeking() & seekable() (#28632)
* [@types/video.js] Add methods seeking() & seekable() Methods according to video.js documentation https://docs.videojs.com/player * fix codestyle * code style
This commit is contained in:
Vendored
+14
@@ -4395,6 +4395,20 @@ declare namespace videojs {
|
||||
*/
|
||||
reset(): void;
|
||||
|
||||
/**
|
||||
* Returns whether or not the player is in the "seeking" state.
|
||||
*
|
||||
* @return boolean True if the player is in the seeking state, false if not.
|
||||
*/
|
||||
seeking(): boolean;
|
||||
|
||||
/**
|
||||
* Returns the TimeRanges of the media that are currently available for seeking to.
|
||||
*
|
||||
* @return TimeRanges Returns the TimeRanges of the media that are currently available for seeking to.
|
||||
*/
|
||||
seekable(): TimeRanges;
|
||||
|
||||
/**
|
||||
* Select source based on tech-order or source-order
|
||||
* Uses source-order selection if `options.sourceOrder` is truthy. Otherwise,
|
||||
|
||||
Reference in New Issue
Block a user