From 2fe89a3d723382b3c58b55b9feee563bb995b92c Mon Sep 17 00:00:00 2001 From: Sean Bennett Date: Wed, 1 Nov 2017 10:34:42 -0500 Subject: [PATCH 1/2] Added missing PlayerOptions option definitions See http://docs.videojs.com/tutorial-options.html for full list. There are some that I have not added. --- types/video.js/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/video.js/index.d.ts b/types/video.js/index.d.ts index c6df37371c..d2dd9896fd 100644 --- a/types/video.js/index.d.ts +++ b/types/video.js/index.d.ts @@ -15,15 +15,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 { From 46905e9486089036c2df85953a1bb48da2bf18d2 Mon Sep 17 00:00:00 2001 From: Sean Bennett Date: Wed, 8 Nov 2017 08:31:06 -0600 Subject: [PATCH 2/2] ADD: Placed name and Github profile link in definition head --- types/video.js/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/video.js/index.d.ts b/types/video.js/index.d.ts index d2dd9896fd..00d26ed551 100644 --- a/types/video.js/index.d.ts +++ b/types/video.js/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/zencoder/video-js // Definitions by: Vincent Bortone // Simon Clériot +// Sean Bennett // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // The Video.js API allows you to interact with the video through