I need to put a video in a div at 100% of height and width of the browser.
The property of ccs3 cover does not work for me, because when you "resize" it is not well framed if the browser is too small.
I've been thinking about using the .scroll () event to take the dimensions of the browser and the video and according to the resolution it adapts.
I want to use something similar to this:
But on the other hand, I want to do it manually, because what I want to do with that plugin there are things that I do not allow and I've been fighting for a few days without result, becoming frustrating and for that reason, when you do something manual from scratch, it is more controllable.
Thank you very much everyone!