javascript website full screen code example
Example: put window in fullscreen html
document.documentElement.requestFullscreen();
// or
document.querySelector("#video").requestFullscreen();
document.documentElement.requestFullscreen();
// or
document.querySelector("#video").requestFullscreen();