| Summary: | Unexpected stop playing an audio track on a website | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Nick <hiatal-tab-0t> | ||||
| Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | eric.carlson, jer.noble, smoley, supersonicandtails, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 15 | ||||||
| Hardware: | Mac (Intel) | ||||||
| OS: | macOS 12 | ||||||
| Attachments: |
|
||||||
Thanks for filing, can you please link a reduced test case here? Created attachment 454262 [details]
Test case
|
If start play Audio on any website using JavaScript, for example: let el = document.querySelector(".player-controls__btn_play"); var evObj = document.createEvent('Events'); evObj.initEvent("click", true, false); el.dispatchEvent(evObj); or document.querySelector(".player-controls__btn_play").click(); or using websites API externalAPI.togglePause(); playback stops after 20-80 seconds (media tab must be inactive).