3 ms·
The correct solution to this problem is to allow websites to require sound. Add a HTML meta tag that tells the browser "Hey, this page won't load properly witho
by phendrenad2 4y ago
The correct solution to this problem is to allow websites to require sound. Add a HTML meta tag that tells the browser "Hey, this page won't load properly without sound, so ask the user if they want to enable sound, or navigate away". If the user really wants to load the page without sound, they can override it in about:config.
All of the other solutions are dumb and I can't believe browser vendors have settled for them.
(Could it be related to the biggest browser vendor also running their own video site that bypasses all autoplay restrictions? Nah...)
- imtringued 4y agoI hate the way the auto blocking is implemented. There is no API to detect that auto blocking is enabled and manual intervention is needed. You are forced to play a fake audio tag with sound and detect that it's event does not fire. This is impossible, so you do it with a timeout and throw your hands up.