Skip to content

Commit

Permalink
Add more video attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltroger committed Oct 30, 2024
1 parent a1d24a1 commit 0d5c46b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/dom-expressions/src/jsx-h.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,7 @@ export namespace JSX {
interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
autoplay?: FunctionMaybe<boolean>;
controls?: FunctionMaybe<boolean>;
controlslist?: FunctionMaybe<string>;
crossorigin?: FunctionMaybe<HTMLCrossorigin>;
loop?: FunctionMaybe<boolean>;
mediagroup?: FunctionMaybe<string>;
Expand Down Expand Up @@ -1248,6 +1249,7 @@ export namespace JSX {
poster?: FunctionMaybe<string>;
width?: FunctionMaybe<number | string>;
disablepictureinpicture?: FunctionMaybe<boolean>;
disableremoteplayback?: FunctionMaybe<boolean>;
}
type SVGPreserveAspectRatio =
| "none"
Expand Down
2 changes: 2 additions & 0 deletions packages/dom-expressions/src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,7 @@ export namespace JSX {
interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
autoplay?: boolean | undefined;
controls?: boolean | undefined;
controlslist?: string | undefined;
crossorigin?: HTMLCrossorigin | undefined;
loop?: boolean | undefined;
mediagroup?: string | undefined;
Expand Down Expand Up @@ -1333,6 +1334,7 @@ export namespace JSX {
poster?: string | undefined;
width?: number | string | undefined;
disablepictureinpicture?: boolean;
disableremoteplayback?: boolean;
}
type SVGPreserveAspectRatio =
| "none"
Expand Down

0 comments on commit 0d5c46b

Please sign in to comment.