I am trying to use fullscreen mode in IE11 using Bigscreen.js. But IE11 does not listen for the "MSFullscreenChange" event.
document.addEventListener("MSFullscreenChange", function () { if (document.msFullscreenElement != null) { console.info("Went full screen"); } else { console.info("Exited full screen"); } });
By placing this in the console, it does not print anything in full screen mode. What is an alternative way to detect this event?
Actually, the Microsoft documentation is incorrect.
I am testing IE11 and it does not have an event listener MSFullscreenChange. Instead, it has an event handler onmsfullscreenchange.
MSFullscreenChange
onmsfullscreenchange
So, just change this and your code should work.
http://brad.is/coding/BigScreen/, F12 Developer Tools, script " script", " " , .
" script" Ctrl + Enter, script . Enter script. , script . "Enter" script .
: , Microsoft Fullscreen API.
Source: https://habr.com/ru/post/1524659/More articles:detect Hebrew letters in strings - javaSaving a multidimensional matrix to a file - matrixCannot get password in user LoginModule - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1524657/angularjs-directive-passing-variables-to-sub-directive&usg=ALkJrhik5ZplDzNybj9t3bUoqGvDJQe8UQCreating a table and modifying a table dynamically in scala slick - scalaНе удается установить мое собственное расширение chrome crx_magic_number_invalid - google-chromeHow to convert the date received from the database only for displaying d / mm / yyyy? - dateCan I handle a class as objects in C ++ - c ++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1524663/launch-desktop-application-from-msbuild&usg=ALkJrhiwYVdxb7zO9T6zvh6joMVgHWUy7whttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1524664/pgdump-gets-ssl-error-seems-to-time-out&usg=ALkJrhiO7p0SfjyK7lXoLNnhRdJ57ciyKAAll Articles