You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Latest version of Chrome blocked information about fullscreen activation if it's happened in iframe and 'fullscreenchange' event won't fired. Link from SO. So promise, which returned from 'exit' function doesn't resolve.
But document.exitFullscreen() returns native promise, which normally resolves.
What do you think about it?
You can repeat it by using youtube embedded video and calling functions from console.
I repeated it with Chrome 79 on macOS 10.14
The text was updated successfully, but these errors were encountered:
We still have to support the old way, but there could be a check to see if document.exitFullscreen() returns a promise and then use that directly instead of the events.
Latest version of Chrome blocked information about fullscreen activation if it's happened in iframe and 'fullscreenchange' event won't fired. Link from SO. So promise, which returned from 'exit' function doesn't resolve.
But document.exitFullscreen() returns native promise, which normally resolves.
What do you think about it?
You can repeat it by using youtube embedded video and calling functions from console.
I repeated it with Chrome 79 on macOS 10.14
The text was updated successfully, but these errors were encountered: