I would like to know when the audio tag starts downloading so that I can throw up an overlay. Then remove it when it stops, but this does not work in chrome
audio.oncanplay = () => {
loading = false;
};
audio.onloadstart = () => {
loading = true;
};
loading will be true as soon as the page loads.
Is there an event for started downloading, and finished downloading? I need both not just the finished.