Skip to content

Commit f9f9583

Browse files
committed
fix: add srcObject to permitted <audio>/<video> attributes
1 parent 0cdc431 commit f9f9583

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/plenty-poets-read.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'svelte': patch
3+
---
4+
5+
fix: add `srcObject` to permitted `<audio>`/`<video>` attributes

packages/svelte/elements.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,6 +1239,7 @@ export interface HTMLMediaAttributes<T extends HTMLMediaElement> extends HTMLAtt
12391239
playsinline?: boolean | undefined | null;
12401240
preload?: 'auto' | 'none' | 'metadata' | '' | undefined | null;
12411241
src?: string | undefined | null;
1242+
srcobject?: MediaStream | MediaSource | File | Blob;
12421243
/**
12431244
* a value between 0 and 1
12441245
*/

0 commit comments

Comments
 (0)