Nieprawidłowy typeerror: Document.GetElementById (...). ExitfullScreen nie jest funkcją

Use document.exitFullscreen() only, do not use document.getElementByX.exitFullscreen()
Code Cat