I tried every mix that you can find on the Internet and here on SO regarding coding, htaccess and video element, but I can not get these videos to play in IE9 while they work fine in Chrome. Does anyone know magical magic dust to make it work? All that is displayed in IE is a black box with a red x in the center. Here is the link to the test page: (link removed)
Please note that I am showing two videos and two layout options. One of them is a direct copy of Mark Pilgrim's video-type book. The first video was encoded using miro. The second is with ffmpeg. I have included "AddType video / mp4.mp4" in my htaccess in this video directory.
No matter what I tried, or what combinations of presets for ffmpeg, nothing works. I am NOT interested in hearing suggestions about javascript libraries or other libraries.
EDIT1:
After viewing the test page using @heff below, my problems could be related to my host HostGator, which helped the team let me drop that they did not support web design efforts using HTML5. I also have problems with HTML5 audio in IE9 using audio and markup that work in other browsers and other web hosts. I donβt know that my problem is with the host, but I am inclined to believe it and will study tests with other hosts.
I see a lot of similar questions for mine on the Internet and here in SO, and I wonder if they have the same host problems as me.
EDIT2:
I put the video on a local server in my office along with the same web pages using Apache and FreeBSD (HostGator uses Centos). In IE9, videos play very well.
EDIT3: So I got "Uncle Buck Bunny" to work. This is the well-known MP4 that I downloaded. Why it works, I donβt know, but I used the same encoder that they did, I think. They must possess this magical fairy whose dust is not.
EDIT4: Can someone copy one of my videos and markup and make it work on my Host Host?
EDIT5: Thus, IE9 downloads mp4 videos, but simply does not play them or show the controls when the red βxβ is displayed. Initially, I thought that the video was not downloaded at all from their dev tools that showed me. Still lost what to do. When I reload the page, I see a flash of controls.
EDIT6: Allowed The solution, as I meant elsewhere, is in encoding. Something else I don't know, but I got this working using the encoding method using ffmpeg. Coding is shown in my answer below.
As I said, no other browser has a problem with what I used.