From 51c5e1bd34969fd7be1b287ae166c5d9d7e0654a Mon Sep 17 00:00:00 2001 From: Gaurav Lahoti Date: Mon, 11 Dec 2017 05:36:40 +0530 Subject: [PATCH 1/2] support for controlsList attribute on video --- types/react/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 2468ab283f..e49246d460 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -2984,6 +2984,7 @@ declare namespace React { interface VideoHTMLAttributes extends MediaHTMLAttributes { height?: number | string; playsInline?: boolean; + controlsList?: string; poster?: string; width?: number | string; } From d157c184cc6027ffa4b079e1b6cd3662c8486cdb Mon Sep 17 00:00:00 2001 From: Gaurav Lahoti Date: Mon, 11 Dec 2017 15:53:02 +0530 Subject: [PATCH 2/2] moved controlsList to MediaHTMLAttributes --- types/react/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index e49246d460..4157574ab1 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -2816,6 +2816,7 @@ declare namespace React { interface MediaHTMLAttributes extends HTMLAttributes { autoPlay?: boolean; controls?: boolean; + controlsList?: string; crossOrigin?: string; loop?: boolean; mediaGroup?: string; @@ -2984,7 +2985,6 @@ declare namespace React { interface VideoHTMLAttributes extends MediaHTMLAttributes { height?: number | string; playsInline?: boolean; - controlsList?: string; poster?: string; width?: number | string; }