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

aws s3 mp4 video chrome firefox

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

2 Replies to “[Solved] AWS S3 .mp4 Videos not playing in Chrome/Firefox”

Leave a Reply

%d bloggers like this: