Download audio file from website to a phone through browser for later play


#1

There are cordover plugins for enabling a file download for later consumption on the phone.

org.apache.cordova.file
org.apache.cordova.file-transfer

But since I wanted to have a browser app that could be accessed by mobile browsers that did much the same thing it does on laptops - namely download a number of files that will be played later.

using soundmanager 2 I can load a file then later play it, and I may also be able to store it in local storage

But I don’t seem to be able to do this on a mobile iOS or Android -

Should I give up or is there a technique for doing this?


#2

It feels like a doomed idea.

a) local storage is limited to 5MB (other than the 128KB of some IE

b) I’d have to convert the audio file into a string and back again as someone did here