I searched and found that html5 does not support directly storing audio. I will convert audios to base64 strings and then I will store in the local storage.
I am developing a html5 audio player application with jplayer. I have audios in the server and I need to store them in the local storage, so I need to download audio files with javascript. Is there way to download audio files with javascript? Any help would be appreciate.
Local storage tends to be limited in size (5mb ish? can't find a reference) so this is unlikely to work well.
You might be able to look in to using the HTML5 AppCache or File system API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With