diff --git a/types/video.js/index.d.ts b/types/video.js/index.d.ts index bea88fcc9d..1981528a55 100644 --- a/types/video.js/index.d.ts +++ b/types/video.js/index.d.ts @@ -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,