mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #21346 from SWBennett06/master
Updated video.js definition with documented options
This commit is contained in:
Vendored
+9
@@ -2,6 +2,7 @@
|
||||
// Project: https://github.com/zencoder/video-js
|
||||
// Definitions by: Vincent Bortone <https://github.com/vbortone>
|
||||
// Simon Clériot <https://github.com/scleriot>
|
||||
// Sean Bennett <https://github.com/SWBennett06>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
// The Video.js API allows you to interact with the video through
|
||||
@@ -15,15 +16,23 @@ export as namespace videojs;
|
||||
declare namespace videojs {
|
||||
interface PlayerOptions {
|
||||
techOrder?: string[];
|
||||
sourceOrder?: boolean;
|
||||
html5?: any;
|
||||
width?: number;
|
||||
height?: number;
|
||||
defaultVolume?: number;
|
||||
children?: string[];
|
||||
loop?: boolean;
|
||||
muted?: boolean;
|
||||
controls?: boolean;
|
||||
src?: string;
|
||||
autoplay?: boolean;
|
||||
preload?: string;
|
||||
sources?: Source[];
|
||||
apsectRatio?: string;
|
||||
fluid?: boolean;
|
||||
language?: string;
|
||||
notSupportedMessage?: string;
|
||||
}
|
||||
|
||||
interface Source {
|
||||
|
||||
Reference in New Issue
Block a user