benjreinhart / react-native-aws3

Pure JavaScript React Native library for uploading to AWS S3
MIT License
398 stars 151 forks source link

mp4 videos not uploading correctly #87

Open prameetc opened 5 years ago

prameetc commented 5 years ago

I tried uploading mov files from iPhone and they work perfectly, however when I try uploading mp4 file, it gets uploaded but the video doesn't play (corrupted file),

I am passing type as 'video/mp4'. Please help.

dankim9 commented 4 years ago

@prameetc Did you ever figured this out? i'm running into this same problem, .MOV works for me.

prameetc commented 4 years ago

@dankim9 Unfortunately, not yet. Also, the maintainers of this package have not responded yet. MOV works perfectly, but MP4 doesn't. I feel this package emphasizes more on image upload rather than video. :(

dankim9 commented 4 years ago

@prameetc thanks for the update!

dankim9 commented 4 years ago

@prameetc by any chance do you know of a way to upload .mp4 files from the assets-library to s3 without using native dependencies?

prameetc commented 4 years ago

@dankim9 The only other way I know is via AWS Amplify, I have had tough luck with that and faced several issues with my bucket creds, so I had to drop that.