I have a picture that resembles something like this one
My goal is to embed a video into it while maintaining its aspect ratio when the screen size is reduced. The responsive design should only affect the width since the image will be displayed in portrait mode on mobile devices.
Unfortunately, I am struggling with implementing this using CSS. I attempted to use absolute positioning and various percentages, but the ratios are not preserved properly when resizing the screen, causing the video to shrink.