react-native-aws3 icon indicating copy to clipboard operation
react-native-aws3 copied to clipboard

mp4 videos not uploading correctly

Open prameetc opened this issue 5 years ago • 5 comments

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.

prameetc avatar Jun 18 '19 07:06 prameetc

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

dankim9 avatar Jul 15 '19 20:07 dankim9

@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. :(

prameetc avatar Jul 16 '19 05:07 prameetc

@prameetc thanks for the update!

dankim9 avatar Jul 16 '19 05:07 dankim9

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

dankim9 avatar Jul 16 '19 06:07 dankim9

@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.

prameetc avatar Jul 16 '19 07:07 prameetc