Using jQuery SDK for larger files upload
-
Hi @Rival,
When uploading files, the maximum size of the request body can be 100MB. Any request that is larger than this would receive an error. To upload files larger than 100MB and up to your account's Video filesize limit, these uploads need to be sent in chunks.
Since you are using the jQuery file upload you can set the "maxChunkSize" in the client-side configuration and that will ensure the file is sent in chunks. For example, to configure chunks to 25MB -
$('.cloudinary-fileupload').cloudinary_fileupload({ maxChunkSize: 25000000, ... any other options });
Please see the following section for the jQuery file plugin about chunked uploads - https://github.com/blueimp/jQuery-File-Upload/wiki/Chunked-file-uploads#client-side-setup and also the relevant section in Cloudinary of where you can configure this parameter - https://cloudinary.com/documentation/jquery_image_and_video_upload#client_side_image_validation_before_upload0
Post is closed for comments.
Comments
1 comment