store.js
store.js copied to clipboard
Large media file storage
I'm really excited to find a library that solves "cross-browser storage for all use cases". My use case is that I want to store media files for offline playback. Can I use Store.js for that now? If not, is that a use case that a future release could solve?
I'm confident that we can find a way to store files locally at least in modern browsers!
This will likely depend on #181. Once that's in place it's just a matter of using an audio/video API that supports playback from Files/ArrayBuffers - this wouldn't make sense to put in store.js, but some quick googling pulls up results lots of results like http://stackoverflow.com/questions/32172466/loading-mp3-as-arraybuffer-using-local-file-for-web-audio, and I bet there are lots of libraries for this.
So yes, totally doable! What are you currently using for playback of media files?
Here's another relevant example: https://hacks.mozilla.org/2012/02/storing-images-and-files-in-indexeddb/