HTML5 Video not working in IE 11

后端 未结 8 1247
有刺的猬
有刺的猬 2020-11-29 06:59

I have a video archive that I have working in everything except IE 11. I get the error \"Error: Unsupported video type or invalid file path\" when loaded in IE 11. Below is

8条回答
  •  独厮守ぢ
    2020-11-29 07:26

    I know this is old, but here is a additional thing if you still encounter problems with the solution above.

    Just put in your :

     
    

    It will prevent IE to jump back to IE9 compatibility, thus breaking the video function. Worked for me, so if you still have problems, consider checking this out.

    Alternatively you can add this in PHP :

    header('x-ua-compatible: ie=edge');
    

    Or in a .htaccess file:

    header set X-UA-Compatible "IE=Edge"
    

提交回复
热议问题