I am trying to have a pop up video player. Would use fancybox, but they went non-commercial, and my use case is relatively simple. Basically I am creating a div that cover the whole page in a black background with enough opacity to still see all the content. I want to position a youtube video (via iframe hard link insertion) at the user's current location on the page (height wise) over this "overlay" div. Basically, I do not want to put this video at a height locationon the page the user will have to scroll to.
I looked through the jquery library, including browser and support and did not see anything of note. Is there a method I am missing? It could be a Javascript solution by the way, I just happen to be using JQuery for everything else so stylistically, ya know.
EDIT:
I am trying to put this new div (containing the iframe code) at the location the user's browser viewport currently is, NOT determine the height of the document, or the height of the browser's viewport.