Open jimmywarting opened 8 years ago
Is there any polyfill for browsers that don't support it natively? I haven't looked closely at it yet, but it sounds pretty awesome. However, I'd really like to avoid having completely different implementations for Chrome and other browsers.
You already have different implementation for chrome... requestFileSystem You could replace that with StreamSaver
And no, there is no pollyfill for that. Browsers need to support native ReadableStream API for it to work. It also requires service worker to work Maybe not in the feature https://github.com/whatwg/streams/issues/480
Just a tip: With StreamSaver.js it is possible to save really large file - without saving the file in the filesystem