Fullscreen not working in IE

前端 未结 1 1715
执念已碎
执念已碎 2021-01-21 20:58

So I have my slider module up and running but Internet Explorer 11 is not responding to the fullscreen button. Firefox and Chrome are working just fine. I found this code on Sta

相关标签:
1条回答
  • 2021-01-21 21:34

    According to this site the fullscreen API is not supported in IE. There seem to be no information on whether this is something that will be supported by IE11 either.

    According to MDN's article on fullscreen it seems that this technique is still be very much experimental for most browsers.

    You could also try this

    Internet Explorer full screen mode?

    Set window to fullscreen (REAL fullscreen; F11 functionality) by javascript

    <script type="text/javascript">
        function max() {
            var wscript = new ActiveXObject("Wscript.shell");
            wscript.SendKeys("{F11}");
        }
    </script>
    

    if you really want to have the full screen in internet explorer.... Try giving the slider wiidth and height 100% in jquery.

    0 讨论(0)
提交回复
热议问题