Open guest271314 opened 3 years ago
WHATWG File System is now implemented in Chromium (Chrome), Firefox, Safari, which unlike WICG File System Access which writes directly to user-selected directories and files, writes File
objects to the origin private filesystem.
Chrome apps are deprecated, see https://developer.chrome.com/docs/extensions/reference/fileSystem/
Following the "migrating your app link" to
chrome.fileSystem
and https://github.com/thenickdude/webm-writer-js/issues/31.
To substitute
WritableStreamDefaultWriter
forFileWriter
in webm-writer-js athttps://github.com/thenickdude/webm-writer-js/blob/098a057549eb5c4c63db99302263bb57f67ccfe0/src/BlobBuffer.js#L23
and
https://github.com/thenickdude/webm-writer-js/blob/098a057549eb5c4c63db99302263bb57f67ccfe0/src/BlobBuffer.js#L142-L149
Usage
Test webm-writer-js-file-system-access.zip