diff options
author | 2024-04-05 14:17:35 +0100 | |
---|---|---|
committer | 2024-04-05 15:17:35 +0200 | |
commit | 1d26e9c7f7d8f47e33bc68d3b30bbffce25c7b63 (patch) | |
tree | e91cec2ec942f9032ede5a7e23e51587e2ecf82b | |
parent | ab153fd888c305482ac4fd0027a13474c03fbf7a (diff) | |
download | astro-1d26e9c7f7d8f47e33bc68d3b30bbffce25c7b63.tar.gz astro-1d26e9c7f7d8f47e33bc68d3b30bbffce25c7b63.tar.zst astro-1d26e9c7f7d8f47e33bc68d3b30bbffce25c7b63.zip |
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>
-rw-r--r-- | .changeset/olive-camels-greet.md | 5 | ||||
-rw-r--r-- | packages/astro/astro-jsx.d.ts | 2 |
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 { |