≈ the.bay.news

A soundtrack that's on by default, without an AudioContext until the first gesture

DEV Community
A soundtrack that's on by default, without an AudioContext until the first gesture
My portfolio's music is on by default, so every page load built an AudioContext just for the browser to refuse it: 168 console warnings in 174 loads. Here's the 'armed' state that waits for the first real gesture, and the touch bug that made the first tap silent.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.