Strange bug with embedded videos in Safari

When playing an embedded iframe video in Safari (v16.2), it will randomly add padding to the bottom of the player so a section of the top is cut off (or distorted, can’t really tell). If I make the div a tiny bit larger than the video’s aspect ratio, it seems to mitigate the problem.

I know it’s not an integration issue because it happens with the videos in Cloudflare Stream’s own documentation.