[Solved] AWS S3 .mp4 Videos not playing in Chrome/Firefox
I faced this issue when I wanted to share a project videos with my friend and ended up fixing it.
Solution:-
Make sure the file’s Content-Type ‘s value is set to “video/mp4”. If not, follow below steps to do it.
– Login to AWS Console, Go to S3 Bucket
– Click on the MP4 File
– Go to Properties > Click on Metadata
– Select “Content-type” > Click “Edit”
– Change the value to “video/mp4” without quotes
– Save
This worked!
Thanks for leaving feedback, Ankit! I’m glad it helped you.