Open hasher-hasher opened 7 years ago
I'm also interested in this issue as we're using different files and want to guarantee, that all of them will be added without any issues.
The message is misleading here: the "format" isn't about the file, it's about how you give the content to JSZip. What's inside torrent.files
? If a file
is an object, JSZip won't know how to include it. You need to give a blob, a uint8array, etc
I tryied to add .mp4 and .srt files to zip, but i got the message "The data of 'Sintel.mp4' is in an unsupported format"
that is my code
how can i zip any type of file?