fix: add `srcObject` to permitted `<audio>`/`<video>` attributes (#17310)

pull/16903/merge
Rich Harris 1 day ago committed by GitHub
parent 0cdc431562
commit 46603d93cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: add `srcObject` to permitted `<audio>`/`<video>` attributes

@ -1239,6 +1239,7 @@ export interface HTMLMediaAttributes<T extends HTMLMediaElement> extends HTMLAtt
playsinline?: boolean | undefined | null;
preload?: 'auto' | 'none' | 'metadata' | '' | undefined | null;
src?: string | undefined | null;
srcobject?: MediaStream | MediaSource | File | Blob;
/**
* a value between 0 and 1
*/

Loading…
Cancel
Save