Hi there,
I have a full background window video website I’m developing. The video is in a 16:9 ratio and depending on the ratio that the user has their browser window set at, depends on how much of the video background is seen. Either some of the bottom gets cut out or some of the right of the video gets cut. I’d like to have a JavaScript that checks the user’s screen resolution and to resizes their browser window to the best ratio possible so that the user can see as much as possible of the video. So the width is as wide as the screen, but the height is the right ratio for keeping a 16:9 ratio.
Any help or direction pointing would be greatly appreciated, I’ve been searching for days!
-Hroth