Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alter uploader settings before uploading #1524

Open
nguyenj opened this issue Oct 25, 2017 · 1 comment
Open

Alter uploader settings before uploading #1524

nguyenj opened this issue Oct 25, 2017 · 1 comment

Comments

@nguyenj
Copy link

nguyenj commented Oct 25, 2017

I need some help dynamically changing the uploader setting per file before the file gets uploaded. The settings are dependent on the response from an ajax request or a promise.

Currently what I’ve done is call uploader.start when files are added but unsure how to make the additional request in the BeforeUpload event then trigger the upload manually after I get a response from the request (preflight request).

Use case is getting the presigned url and policy for a direct S3 upload. I’ve looked at the example for S3 upload, but that’s not really working.

Any help or guidance is much appreciated.
Thanks!

@carlalexander
Copy link

Did you ever get this to work @nguyenj?

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

No branches or pull requests

2 participants