[video.js] Added missing methods to Player interface

Added the following missing methods to video.js's Player interface:

```
controls(bool?: boolean): boolean;
        muted(muted?: boolean): boolean;
        preload(value?: boolean): string;
        autoplay(value?: boolean): string;
        loop(value?: boolean): string;
```
This commit is contained in:
Netanel Draiman 2018-02-26 10:06:07 +02:00 committed by GitHub
parent f2fb883ac0
commit e7e644ccbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,5 +71,10 @@ declare namespace videojs {
removeRemoteTextTrack(track: HTMLTrackElement): void;
poster(val?: string): string | Player;
playbackRate(rate?: number): number;
controls(bool?: boolean): boolean;
muted(muted?: boolean): boolean;
preload(value?: boolean): string;
autoplay(value?: boolean): string;
loop(value?: boolean): string;
}
}