title: mediaelement.js not playing video in IE 9
body: <p>I just started using mediaelement.js a few days ago.</p>
  
  <p>Everything works so far except that IE9 doesn't show any videos (natively) even though the sound plays fine. With Flash it works fine.</p>
  
  <p>The video element seems to disappear (width and height = 0) after the success callback has run. If I manually change the size it's just black.</p>
  
  <p>I tried playing the demo video from mediaelementjs.com but the video was black as well.</p>
  
  <p>I tried setting the size manually after success callback ( <a href="https://stackoverflow.com/questions/9182682/mediaelement-js-local-flash-playback-shows-black-video-with-sound-unless-shown">mediaelement.js: Local Flash playback shows black video with sound unless shown full screen</a> ). This displays the video element but it's still only black. The sound still plays.</p>
  
  <p>In <a href="https://stackoverflow.com/questions/6190831/mediaelement-js-malfunction-in-ie-no-flashback-works">Mediaelement.js malfunction in IE, no flashback works</a> I found a possible solution using an undocumented property.</p>
  
  <pre><code>/*@cc_on
  @if (@_jscript_version == 9)
      mode: 'shim',
  @end
  @*/
  </code></pre>
  
  <p>This forces IE to use flash but I'm not that comfortable using it in a productive environment.</p>
  
  <p>Does anyone have a better solution?</p>
  
  <p><strong>UPDATE:</strong> I just tested on another computer with the same OS and browser (Windows 7, IE 9.0.8112) and there the video on mediaelementjs.com plays fine. Could it have something to do with my installation? I normally never use IE and haven't changed anything...</p>