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