mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -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;
|
playsinline?: boolean | string | undefined | null;
|
||||||
preload?: string | undefined | null;
|
preload?: string | undefined | null;
|
||||||
src?: 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 {
|
interface MetaHTMLAttributes extends HTMLAttributes {
|
||||||
|
|
Loading…
Add table
Reference in a new issue