Reputation: 88
Hi I am using the Phonegap capture video method to capture and upload videos, however I want to zip the file before uploading to server.
Is there any means of compressing a file on client-side?
How efficient is this?
And any pointers would be appreciated.
Ismael
Upvotes: 1
Views: 1297
Reputation: 2511
I would condider converting the file to mpeg compression instead.
try this jquery libary link
then you don't need to unzip the file, you can just play it as a compressed format.
Upvotes: 0
Reputation: 20563
There is no native API to do this. However, You can try this library called JSZip:
Upvotes: 1