mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-05 09:40:02 +00:00
Merge pull request #28013 from gjanblaszczyk/master
[video.js] Adds missing 'ended' method to the player
This commit is contained in:
12
types/video.js/index.d.ts
vendored
12
types/video.js/index.d.ts
vendored
@@ -4054,6 +4054,18 @@ declare namespace videojs {
|
||||
*/
|
||||
getVideoPlaybackQuality(): any;
|
||||
|
||||
/**
|
||||
* Get the value of `ended` from the media element. `ended` indicates whether
|
||||
* the media has reached the end or not.
|
||||
*
|
||||
* @return - The value of `ended` from the media element.
|
||||
* - True indicates that the media has ended.
|
||||
* - False indicates that the media has not ended.
|
||||
*
|
||||
* @see [Spec]{@link https://www.w3.org/TR/html5/embedded-content-0.html#dom-media-ended}
|
||||
*/
|
||||
ended(): boolean;
|
||||
|
||||
/**
|
||||
* When fullscreen isn't supported we can stretch the
|
||||
* video container to as wide as the browser will let us.
|
||||
|
||||
Reference in New Issue
Block a user