There are tons of solutions out there to responsively embed video, but I've not been able to find one that sets a video embed size by viewport height.
I have three elements on my page: a header, a Youtube embed, and a footer. The header and footer are set to a static "height: 15vh;" and I need my Youtube embed to be 70vh, and for the width to maintain the 16:9 aspect ratio without overflowing.
To re-iterate, I am not looking for any solution that sets embed size by its width (e.g. the padding-bottom: 56.25% method).
Any thoughts?
Thanks!
[Edit: this is not a duplicate question. The solution offered in the other question refers to 100% width whereas I am looking for the width to resize in ratio to the viewport vertical height specified (70vh).]