Getting window width/height insted of body

If there is a good reason to check container element's width and height, then sorry for this pull request, but I think that gives a horrible resolution for video, if the site is long. Just check your own example site, where the video is 1,5x bigger then excepted. I think that should be an issue as comes under development.