Why does IE11 open MP4 files in Windows Media Player instead of rendering in the browser?

I open a direct link to the MP4 file that Firefox and Chrome displays inside the main browser. When I load it in IE11, it disables video top in Windows Media Player. The problem is to load it as part of the page background, and Chrome and FireFox rendered it correctly on the page (using the jQuery plugin), but in IE11 it reopens the Windows Media Player window.

+3


source to share


1 answer


It looks like you are opening the video file directly rather than embedding it in your site.

As per Degru's answer on This Reddit , you probably need to use the HTML5 tag <video>...</video>

like so:

<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  Your browser does not support the video tag.
</video>

      



Here is the W3Schools documentation

Here is a working example

0


source







All Articles