A new quirk has been created on YouTube.com on iOS: https://github.com/WebKit/WebKit/pull/19613. This bug is to remove the Quirk, when the circumstances permit. YouTube videos that are embedded on other websites use element fullscreen, and their fullscreen controls do not respect the iPhone fullscreen safe area insets, causing the controls to be unusable. Hence a quirk was added to make their controls respect the fullscreen insets. Steps to reproduce: 1. Go to https://petapixel.com/2023/10/20/darren-aronofsky-says-it-takes-12-people-to-use-the-18k-sphere-camera/, or any site with an embedded YouTube video, in Safari on an iPhone with Face ID. 2. Put the video in fullscreen. Without the quirk, the video title and some controls are drawn under the status bar on top, and the scrubber is too close to the home affordance on bottom.
<rdar://problem/117912377>
This quirk ended up not being landed. This bug does not exist anymore.