From 1d26e9c7f7d8f47e33bc68d3b30bbffce25c7b63 Mon Sep 17 00:00:00 2001 From: apetta Date: Fri, 5 Apr 2024 14:17:35 +0100 Subject: [PATCH] Add disableremoteplayback attribute to VideoHTMLAttributes interface (#10693) * Add disableremoteplayback attribute to VideoHTMLAttributes interface * Move disableremoteplayback from VideoHTMLAttributes to MediaHTMLAttributes * Create olive-camels-greet.md * Update packages/astro/astro-jsx.d.ts --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> --- .changeset/olive-camels-greet.md | 5 +++++ packages/astro/astro-jsx.d.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/olive-camels-greet.md diff --git a/.changeset/olive-camels-greet.md b/.changeset/olive-camels-greet.md new file mode 100644 index 0000000000..6fa4a59c28 --- /dev/null +++ b/.changeset/olive-camels-greet.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +Adds the `disableremoteplayback` attribute to MediaHTMLAttributes interface diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts index 869e64d5c9..08a6c7fba9 100644 --- a/packages/astro/astro-jsx.d.ts +++ b/packages/astro/astro-jsx.d.ts @@ -873,6 +873,8 @@ declare namespace astroHTML.JSX { playsinline?: boolean | string | undefined | null; preload?: string | undefined | null; src?: string | undefined | null; + // https://www.w3.org/TR/remote-playback/#the-disableremoteplayback-attribute + disableRemotePlayback?: boolean | string | undefined | null; } interface MetaHTMLAttributes extends HTMLAttributes {