NEW 236967
Unexpected stop playing an audio track on a website
https://bugs.webkit.org/show_bug.cgi?id=236967
Summary Unexpected stop playing an audio track on a website
Nick
Reported 2022-02-21 04:22:14 PST
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).
Attachments
Test case (400 bytes, text/plain)
2022-03-09 10:23 PST, Nick
no flags
Radar WebKit Bug Importer
Comment 1 2022-02-23 15:40:44 PST
Smoley
Comment 2 2022-03-09 09:34:19 PST
Thanks for filing, can you please link a reduced test case here?
Nick
Comment 3 2022-03-09 10:23:36 PST
Created attachment 454262 [details] Test case
Note You need to log in before you can comment on or make changes to this bug.