aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/olive-camels-greet.md5
-rw-r--r--packages/astro/astro-jsx.d.ts2
2 files changed, 7 insertions, 0 deletions
diff --git a/.changeset/olive-camels-greet.md b/.changeset/olive-camels-greet.md
new file mode 100644
index 000000000..6fa4a59c2
--- /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 869e64d5c..08a6c7fba 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 {