I basically want to have an embedded Vimeo video take up the full width and height of a given page (or it's parent div). The embedded Vimeo is an iframe and I am using react-player plugin to embed the video .
I've seen these examples of responsive width vimeo videos: https://jsfiddle.net/e6w3rtj1/. Setting the padding bottom or top to the aspect ratio percentage. However, this only fixes the issue for the width. I basically want the object-fit: fill
option on images and videos for this iframe. Is it possible? Has anyone come across a solution?