-
Notifications
You must be signed in to change notification settings - Fork 51
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
Bug: mux-uploader 'success' immediately triggered when selecting file in Safari #892
Comments
Hey @cgs sorry for the slow response! This is is sadly due to a bug in WebKit (https://bugs.webkit.org/show_bug.cgi?id=272600). We're hoping to eventually implement an "opt in" (sub-optimal) fallback, but in the interim, I've made some updates to at least appropriately notify the state with some default guidance for the user. Given the browser-based nature of this bug, do you think this will hold you over for your use case until either WebKit fixes it or we get that "less than ideal" workaround in place? |
Yes, I think a descriptive error is better than no error! Thanks for investigating this. |
* Exposes `useLargeFileWorkaround` upchunk option for browsers that cannot handle large files with `ReadableStream` implementation. * Some docs updates * Updates `MuxUploader` nextjs example page to make props config easier (similar to `MuxPlayer`). (available [here](https://elements-demo-nextjs-git-fork-cjpillsbury-feat-mux-u-32f389-mux.vercel.app/MuxUploader)) fixes #892
A couple of updates here:
|
Is there an existing issue for this?
Which Mux Elements/Packages does this apply to? Select all that apply
mux-uploader
Which browsers are you using?
Safari
Which operating systems are you using?
macOS
Description
Using mux-uploader. I have a 4.5 GB .mov file that when selected via the file browser (or using drag/drop) immediately triggers the 'success' event and the file is not actually uploaded:
Screen.Recording.2024-04-03.at.9.58.15.AM.mov
This only happens with this specific file and in Safari. There are no errors in the console. It works ok in Chrome. Here are the video specs:
Here is the video file: https://www.dropbox.com/scl/fo/a3abqnobqroiaomuv1u1r/h?preview=Daily+Meditation_v2.mov&rlkey=w39tdtitdux7thftzpxjd6od3&dl=0
Reduced test case
No response
Steps to reproduce
Current Behavior
'success' immediately triggered and "Upload Complete" shown, but file not actually uploaded. See video above
Expected Behavior
File should upload normally
Errors
There are no console errors.
What version of the package are you using?
1.0.0-beta.15
The text was updated successfully, but these errors were encountered: