hackerspace-bootstrap / strichliste-web

DEPRECATED - frontend for the strichliste api
http://demo.strichliste.org/
MIT License
11 stars 10 forks source link

No transaction sound on Android in Chrome #88

Closed mweinelt closed 6 years ago

mweinelt commented 6 years ago

Since roughly 6-8 weeks we don't hear any transaction sound anymore on our Android 7.1 tablets using Chrome's "Add to Desktop" feature. Both are running Chrome 66.0.3359.158.

I can also confirm that on my N5X with 8.1 and the same Chrome version.

I checked that Chrome lets the page play audio in general, but there is none. I can see the webpage requests the ogg file just fine:

192.168.110.242 - - [21/May/2018:00:03:29 +0200] "GET /cash-register.ogg HTTP/1.1" 200 31249 "https://prepaid.w17.io/" "Mozilla/5.0 (Linux; Android 7.1.2; Nexus 7 Build/NJH47B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Safari/537.36"
192.168.110.242 - - [21/May/2018:00:03:49 +0200] "GET /cash-register.ogg HTTP/1.1" 304 0 "https://prepaid.w17.io/" "Mozilla/5.0 (Linux; Android 7.1.2; Nexus 7 Build/NJH47B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Safari/537.36"
192.168.110.242 - - [21/May/2018:00:04:23 +0200] "GET /cash-register.ogg HTTP/1.1" 200 31249 "https://prepaid.w17.io/" "Mozilla/5.0 (Linux; Android 7.1.2; Nexus 7 Build/NJH47B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Safari/537.36"
192.168.110.242 - - [21/May/2018:00:05:39 +0200] "GET /cash-register.ogg HTTP/1.1" 304 0 "https://prepaid.w17.io/" "Mozilla/5.0 (Linux; Android 7.1.2; Nexus 7 Build/NJH47B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Safari/537.36"
schinken commented 6 years ago

Hi! Google added a feature to disable auto play of audio in chrome. They're already fixing that bug - but you can workaround that issue if you set "Autoplay policy" to "No user gesture required" in chrome://flags/

mweinelt commented 6 years ago

Awesome, that was it.