Thank you for visiting and participating in the Video.js forums. We are currently moving the forums to Stack Overflow and GitHub Issues. If you have a question or need help with Video.js, please post your question on Stack Overflow and add the tag 'video.js'. If you've found a specific bug in Video.js, please submit it in the issues tracker.

You can read more about this move on the blog.

Mp4 & Amazon S3 gotcha to look out for

Paul's Avatar


15 Dec, 2011 03:19 PM

This is more a heads up than anything, and I wasn't sure where to put it, but I saw people had had issues with IE9 and this may be an overlooked fix if you're using S3 to stream your videos.

We encountered the issue where IE9 wasn't playing videos properly. When pressing play, it would show the white circle and not play the video.
It turned out the plugin we used to upload to S3 was not correctly identifying the content type of the file, so when IE came along and tried to use the mp4, it exploded (as IE9 tends to do spit).

The solution, was to explicitly set the content type on the S3 store function. We use ruby on rails, so that's what I've pasted below, but I'm sure the same solution would work for others:'/projectname' + current_url, open(current_path), '', :access => :public_read, :content_type => 'video/mp4')

  1. 1 Posted by Meir on 21 Mar, 2012 11:50 AM

    Meir's Avatar

    I've spent hours trying to figure out why only Firefox's .webm playback wasn't working, and this was exactly the problem. Thanks a million!

    By the way, I'm not on ruby on rails, I'm using a standalone S3 client (Cloudberry Explorer), and accomplished it by clicking "set HTTP headers" for my video file.

  2. 2 Posted by Luis on 20 Aug, 2012 09:44 AM

    Luis's Avatar

    many thanks for pointing that. you saved me hours of work!

    if you wish to change the Content-Type using S3's web interface, you can do it under Properties>Metadata (you can select from a list of MIME types or just write your own)

  3. 3 Posted by Chris on 11 Mar, 2013 07:42 PM

    Chris's Avatar

    Wow, you saved me dude. Worked great!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

29 Oct, 2015 05:55 AM
15 Oct, 2015 03:50 AM
24 Sep, 2015 10:01 AM
24 Sep, 2015 03:49 AM
18 Jul, 2015 11:58 AM


04 Jul, 2015 10:27 AM
17 Jan, 2015 12:13 PM
04 Dec, 2014 02:39 AM
27 Nov, 2014 01:11 PM
25 Nov, 2014 05:34 PM
20 Nov, 2014 04:11 PM