I have this mp3 file stored in my firebase database and when a user clicks on a download button I want to download the file:
I've tried doing
<a href='https://firebasestorage.googleapis.com/v0/b/soundcloud-9491a.appspot.com/o/Microsoft%20Windows%20XP%20Startup%20Sound.mp3?alt=media&token=31351745-698d-469a-a6b5-86c3076f35f3'>Download</a>
But when I do this, it only opens up the mp3 video in the google browser, and does not download it. **EDIT Is there a way doing it with an audio element? Because the default audio element provides a download button, would it be possible to create a function that would click on that download button?