From f687438e2fe689e2a0de7627d5b5cf6c35dcbeec Mon Sep 17 00:00:00 2001 From: Pedro Lisboa <35539594+pedrobslisboa@users.noreply.github.com> Date: Tue, 30 Jul 2024 12:08:09 -0300 Subject: [PATCH] Add missing attr to videoHTMLAttributes (#153) Co-authored-by: Pedro Lisboa --- packages/react/src/DomProps.ml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/react/src/DomProps.ml b/packages/react/src/DomProps.ml index 38b213e3f..0c00369fc 100644 --- a/packages/react/src/DomProps.ml +++ b/packages/react/src/DomProps.ml @@ -1072,17 +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 = "preload"; jsxName = "preload"; type_ = String }; + 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