Object fit with YouTube element

Hey guys, anyone know if it would be possible to get an ‘object-fit’ ‘cover’ effect with the YouTube element? I want to preserve the 16:9 aspect ratio of the video whilst ‘covering’ its parent element. Any ideas?

Unlike an image element when you set the yt vids height and width to 100% it just fills the parent div and doesn’t retain its aspect ratio.

Here’s a pic to demonstrate…