Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Chunked upload for large files #75

Open
rambii opened this issue Mar 15, 2020 · 1 comment
Open

Chunked upload for large files #75

rambii opened this issue Mar 15, 2020 · 1 comment

Comments

@rambii
Copy link

rambii commented Mar 15, 2020

I was looking into uploading larger files with this package. Cloudinary has a different method for those upload.
https://cloudinary.com/documentation/upload_videos#chunked_video_upload

The simplest solution I guess would be to change the method call to upload_large here:

$this->uploadedResult = $this->getUploader()->upload($source, $options);

As the methods default to a chunk size of 20 MB it will still work for uploads without chunks and smaller uploads.

Another solution would be to provide a separat wrapper for the method.

What are your thoughts about this?

@jrm2k6
Copy link
Owner

jrm2k6 commented Jun 6, 2020

Hi @rambii
Sorry for the long delay!
I think having a separate method to accommodate large uploads would make sense!
Feel free to open a PR if it is still needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants