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:
parent
ab153fd888
commit
1d26e9c7f7
2 changed files with 7 additions and 0 deletions
5
.changeset/olive-camels-greet.md
Normal file
5
.changeset/olive-camels-greet.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"astro": patch
|
||||
---
|
||||
|
||||
Adds the `disableremoteplayback` attribute to MediaHTMLAttributes interface
|
2
packages/astro/astro-jsx.d.ts
vendored
2
packages/astro/astro-jsx.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue