how to fullscreen page html code example
Example: put window in fullscreen html
document.documentElement.requestFullscreen();
// or
document.querySelector("#video").requestFullscreen();
document.documentElement.requestFullscreen();
// or
document.querySelector("#video").requestFullscreen();