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