3 ms·
The AudioContext is suspended (by default, no auto-play). You have to resume() this on a user interaction. E.g., add a click-handler for the play button, which
by masswerk 4y ago
The AudioContext is suspended (by default, no auto-play). You have to resume() this on a user interaction.
E.g., add a click-handler for the play button, which triggers,
if (myAudioContext.state === 'suspended') myAudioContext.resume();