-
-
Notifications
You must be signed in to change notification settings - Fork 90
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] - Trying to upload a video/mp4
with binary
encoding fails
#136
Comments
Hi @teophilus Thanks for submitting the issue! |
I have same issue, here's my code snippet:
|
I got it fixed by setting encoding to 'utf8'.
|
@jackguoAtJogg @all-contributors add @jackguoAtJogg for question |
I've put up a pull request to add @jackguoAtJogg! 🎉 |
Mentioned the workaround in 97e2f46 |
Wow~ is my honor to be part the contributor~ 😁 |
Hello, in my case where I used mp4box library to have a check on video metadata before sending a video, the above workaround does not work. It produces wrong video metadata. The below workaround works:
|
The upload not longer work with Cypress |
for others this is what worked for me:
|
This works great for me, excluding uploading large video files |
What do you mean by large. Approximately how much large |
Current behavior:
$ file -I test_asset_02.mp4
Desired behavior:
Trying to upload a
video/mp4
withbinary
encoding fails, I used the same command for Jpegs and such and they work perfect.Steps to reproduce: (app code and test code)
Upload an video/mp4 with binary encoding
Versions
Cypress: 3.5.0 , operating system: locally OSX but running against a production server (Unix), browser: Electron
The text was updated successfully, but these errors were encountered: