Element: fullscreenchange イベント - Web API | MDN
fullscreenchange イベントは、ある要素 (Element) が全画面モードに切り替わったり、終了したりした直後に発生します。