Skip to content

Commit 1d26e9c

Browse files
apettaPrincesseuh
andauthored
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 <[email protected]>
1 parent ab153fd commit 1d26e9c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/olive-camels-greet.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"astro": patch
3+
---
4+
5+
Adds the `disableremoteplayback` attribute to MediaHTMLAttributes interface

packages/astro/astro-jsx.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,8 @@ declare namespace astroHTML.JSX {
873873
playsinline?: boolean | string | undefined | null;
874874
preload?: string | undefined | null;
875875
src?: string | undefined | null;
876+
// https://www.w3.org/TR/remote-playback/#the-disableremoteplayback-attribute
877+
disableRemotePlayback?: boolean | string | undefined | null;
876878
}
877879

878880
interface MetaHTMLAttributes extends HTMLAttributes {

0 commit comments

Comments
 (0)