From 7033009136f119320e54c801325ddca94fdd1d79 Mon Sep 17 00:00:00 2001 From: Pedro Lisboa Date: Tue, 30 Jul 2024 11:10:28 -0300 Subject: [PATCH] fix: add missing attr to videoHTMLAttributes --- packages/react/src/DomProps.ml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/react/src/DomProps.ml b/packages/react/src/DomProps.ml index 336782471..0c00369fc 100644 --- a/packages/react/src/DomProps.ml +++ b/packages/react/src/DomProps.ml @@ -1072,15 +1072,18 @@ let videoHTMLAttributes = [ Attribute { name = "autoplay"; jsxName = "autoPlay"; type_ = Bool }; Attribute { name = "controls"; jsxName = "controls"; type_ = Bool }; + Attribute { name = "controlslist"; jsxName = "controlsList"; type_ = String }; Attribute { name = "crossorigin"; jsxName = "crossOrigin"; type_ = String }; + Attribute { name = "disablepictureinpicture"; jsxName = "disablePictureInPicture"; type_ = Bool }; + Attribute { name = "disableremoteplayback"; jsxName = "disableRemotePlayback"; type_ = Bool }; Attribute { name = "height"; jsxName = "height"; type_ = String (* number | *) }; - Attribute { name = "playsinline"; jsxName = "playsInline"; type_ = Bool }; - Attribute { name = "loop"; jsxName = "loop"; type_ = Bool }; + Attribute { name = "muted"; jsxName = "muted"; type_ = Bool }; + Attribute { name = "playsinline"; jsxName = "playsInline"; type_ = Bool }; Attribute { name = "poster"; jsxName = "poster"; type_ = String }; + Attribute { name = "preload"; jsxName = "preload"; type_ = String }; + Attribute { name = "src"; jsxName = "src"; type_ = String }; Attribute { name = "width"; jsxName = "width"; type_ = String (* number | *) }; - Attribute { name = "disablepictureinpicture"; jsxName = "disablePictureInPicture"; type_ = Bool }; - Attribute { name = "disableremoteplayback"; jsxName = "disableRemotePlayback"; type_ = Bool }; ] module SVG = struct