title: html5 video tag not playing mp4 - IIS
body: <p>The problem I am having is that I am unable to get mp4 videos to run via a video tag.</p>
  
  <p>The server is IIS 7.5 on Win7 Ultimate.</p>
  
  <p>The htm in the file is rather simple and vanilla:</p>
  
  <pre><code>&lt;video width="360" height="240"  controls="controls" &gt;
      &lt;source src="test.mp4" type="video/mp4" /&gt;
  &lt;/video&gt;
  </code></pre>
  
  <p>In "Internet Explorer" the tag renders a black box with a red cross.</p>
  
  <p>In Firefox the tag renders as a grey box with a light-grey cross and the words "No video with supported format and MIME type found.".</p>
  
  <p>I know what you're thinking - add the MIME type. I have done this two different ways with no success; first I tried adding the MIME type in IIS, and then I have tried adding via the web.config with </p>
  
  <pre><code>&lt;staticContent&gt;  
    &lt;remove fileExtension=".mp4" /&gt;
    &lt;mimeMap fileExtension=".mp4" mimeType="video/mp4"/&gt;
  &lt;/staticContent&gt;
  </code></pre>
  
  <p>Neither of these made a difference. I have also typed the .mp4 file directly into the address bad and both IE and firefox are able to play it. Furthermore I have gone to websites that have use 'video' tag in both IE and firefox and they play the videos just fine.</p>
  
  <p>Can somebody please assist me in why this wont play, and what I can do to get it to play?</p>
  
  <p>Thanks</p>