Skip to content

Commit

Permalink
Add missing attr to videoHTMLAttributes (#153)
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Lisboa <pedro.lisboa@ahrefs.com>
  • Loading branch information
pedrobslisboa and Pedro Lisboa committed Jul 30, 2024
1 parent 45edf2b commit f687438
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/react/src/DomProps.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f687438

Please sign in to comment.