0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00

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>
This commit is contained in:
apetta 2024-04-05 14:17:35 +01:00 committed by GitHub
parent ab153fd888
commit 1d26e9c7f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"astro": patch
---
Adds the `disableremoteplayback` attribute to MediaHTMLAttributes interface

View file

@ -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 {