mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-07 09:40:19 +00:00
[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:
Vendored
+5
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user