4 ms·
How does this auto-play sound without user interaction?
by GranPC 4y ago
How does this auto-play sound without user interaction?
- s0rce 4y agoIt didn't for me on Chrome on OS X. I had to click one of the links before the sound played.
- kevingadd 4y agoSynthesized sound (AudioContext) works a bit differently from playing videos/sound files in the web permissions model, for whatever reason. IIRC Chrome and Firefox both treat various forms of interaction as an OK to synthesize audio, so your browser probably decided you had met that criteria. Chrome has a list of special websites that are given that access automatically, though I doubt this website is on that list...
- GranPC 4y agoVery interesting. I'm using Firefox and it started playing immediately when I switched to the tab. Thank you for the details!