Merge pull request #28013 from gjanblaszczyk/master

[video.js] Adds missing 'ended' method to the player
This commit is contained in:
Ron Buckton
2018-08-09 18:31:01 -07:00
committed by GitHub

View File

@@ -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.