full screen using 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();