3 ms·
This seems like an obvious fix. Mobile browsers already have solutions where prompts/sounds/playback can only be initiated inside a click/interaction handler.
by hombre_fatal 6y ago
This seems like an obvious fix. Mobile browsers already have solutions where prompts/sounds/playback can only be initiated inside a click/interaction handler.
I don't see why it can't be the same here.
- notriddle 6y agoDesktop browsers have it, too, at least for opening popup windows and unmuting audio. Site owners work around it by coaxing the user into clicking a button that opens the prompt, with a label that says it does something else. The popup window situation has gotten so bad that even websites that legitimately want popups have stopped using them, because it's such a PITA to get them to reliably open.
- willcipriano 6y agoI played around with this previously. For playing audio the "button" can be a invisible div that takes up the entire page and interacting with it can be not only clicking but simply moving the mouse over the div.