jsmpeg icon indicating copy to clipboard operation
jsmpeg copied to clipboard

No audio on macOS, Safari

Open alectrocute opened this issue 3 years ago • 1 comments

Tested using: https://jsmpeg.com/perf.html?file=blade-runner-2049-240p.ts&webgl=1&wasm=1&audio=1

Anybody have a workaround? Thanks!

alectrocute avatar Aug 10 '21 18:08 alectrocute

Hi @alectrocute, The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. Nowadays all modern browsers block audio playback. You need to trigger a gesture (like a click on a sound button) to resume the Audio Context and re-enable the sound

stondbringa avatar Jan 06 '22 16:01 stondbringa