Skip to content

Commit

Permalink
Add disableremoteplayback attribute to VideoHTMLAttributes interface (w…
Browse files Browse the repository at this point in the history
…ithastro#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>
  • Loading branch information
2 people authored and PeterDraex committed Apr 23, 2024
1 parent a2428eb commit 4595e23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/olive-camels-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Adds the `disableremoteplayback` attribute to MediaHTMLAttributes interface
2 changes: 2 additions & 0 deletions packages/astro/astro-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4595e23

Please sign in to comment.