4 ms·
It already does this, when you click the "say" button it generates a base64 url. You can share that url. The problem is when someone loads the URL the browser
by dsteinman 7y ago
It already does this, when you click the "say" button it generates a base64 url. You can share that url. The problem is when someone loads the URL the browser will not autoplay the clip. You have to click a button (or some other user interaction) to start the Web Audio API, it's a really annoying limitation that I wish Firefox and Chrome would change to a one-time popup confirmation. So what I did was hide the text box until after playing the audio.