mirror of https://github.com/sveltejs/svelte
feat: add warning when media.play() fails in bind:paused (#17656)
* feat: add warning when media.play() fails in bind:paused * chore: fix formatting in media.js * chore: use Rich Harris's suggested approach for media.play() error handling * Apply suggestion from @Rich-Harris --------- Co-authored-by: Rich Harris <hello@rich-harris.dev>pull/17670/head
parent
bd5480b9d0
commit
15fe6b85c0
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: don't swallow `DOMException` when `media.play()` fails in `bind:paused`
|
||||
Loading…
Reference in new issue