Bug 263785 - Remove Quirk shouldInjectYouTubeFullscreenStyles on YouTube.com and embedded YouTube videos
Summary: Remove Quirk shouldInjectYouTubeFullscreenStyles on YouTube.com and embedded ...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-27 10:29 PDT by Dana Estra
Modified: 2023-11-14 10:38 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.