Bug 263785

Summary: Remove Quirk shouldInjectYouTubeFullscreenStyles on YouTube.com and embedded YouTube videos
Product: WebKit Reporter: Dana Estra <destra>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: destra, jer.noble, karlcow, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Unspecified   
OS: Unspecified   

Description Dana Estra 2023-10-27 10:29:09 PDT
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.
Comment 1 Radar WebKit Bug Importer 2023-11-03 10:30:15 PDT
<rdar://problem/117912377>
Comment 2 Dana Estra 2023-11-14 10:38:44 PST
This quirk ended up not being landed. This bug does not exist anymore.