I need to know which (DOM) events are fired when a user enter the fullscreen mode via the new Fullscreen API. I tried for example this snippet but it doesn\'t fire:
Your link shows the answer...
When full-screen mode is successfully engaged, the document which contains the full-screen element receives a
fullscreenchangeevent. When full-screen mode is exited, the document again receives afullscreenchangeevent. Note that thefullscreenchangeevent doesn't provide any information itself as to whether the document is entering or exiting full-screen mode, but if the document has a non nullfullScreenElement, you know you're in full-screen mode.