arggh
arggh
CDCloudflare Developers
Created by arggh on 8/24/2023 in #general-help
Canceling a Stream upload (via TUS) using the recommended Uppy uploader does not work
Uploading, pausing and resuming works as expected with Cloudflare Stream and Uppy uploader. However, canceling an upload using the Uppy uploader's UI does not work, instead I get this error in the console:
Access to XMLHttpRequest at 'https://upload.videodelivery.net/tus/b2da62de37476b3125522890c5940a?tusv2=true' from origin 'https://myapp.com' has been blocked by CORS policy: Method DELETE is not allowed by Access-Control-Allow-Methods in preflight response.
Access to XMLHttpRequest at 'https://upload.videodelivery.net/tus/b2da62de37476b3125522890c5940a?tusv2=true' from origin 'https://myapp.com' has been blocked by CORS policy: Method DELETE is not allowed by Access-Control-Allow-Methods in preflight response.
...and the video remains in "pending upload" state.
2 replies