The tap-anywhere-to-resume queue was a regression — users saw a "tap anywhere to start" message and tapping often did nothing, with no feedback about why. Replace with the obvious-in-hindsight approach: seize the user gesture from the entry button click itself. primeAudioOnGesture() plays a 1-frame silent WAV through a hidden <audio> element inside the entry click handler. Mobile Firefox / Safari treat that as gesture-driven audio playback and grant the page audio permission for the session. It also resumes any suspended AudioContext (meter / chime path) the same way. By the time auto-enrolment into DJ mode runs (async hops after entry), the page already has audio permission — dynamic <audio> elements created later play() without further user interaction. No "tap anywhere", no queue, no flip-flop on stalled. Bound to btn-enter click + rdv-code Enter key. Tap-to-resume queue and pendingAutoplay/installTapResume helpers removed. Tests green (83 fsm + 16 zebra-spaces). |
||
|---|---|---|
| .. | ||
| blog | ||
| fonts | ||
| chat.html | ||
| host-your-own.html | ||
| how-it-works.html | ||
| index.html | ||
| kernel.html | ||
| stamp.js | ||
| zebra-audio.html | ||
| zebra-spaces.html | ||