We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
srcObject
<audio>
<video>
1 parent 0cdc431 commit 46603d9Copy full SHA for 46603d9
.changeset/plenty-poets-read.md
@@ -0,0 +1,5 @@
1
+---
2
+'svelte': patch
3
4
+
5
+fix: add `srcObject` to permitted `<audio>`/`<video>` attributes
packages/svelte/elements.d.ts
@@ -1239,6 +1239,7 @@ export interface HTMLMediaAttributes<T extends HTMLMediaElement> extends HTMLAtt
1239
playsinline?: boolean | undefined | null;
1240
preload?: 'auto' | 'none' | 'metadata' | '' | undefined | null;
1241
src?: string | undefined | null;
1242
+ srcobject?: MediaStream | MediaSource | File | Blob;
1243
/**
1244
* a value between 0 and 1
1245
*/
0 commit comments