[Webkit-unassigned] [Bug 245612] New: Quirks mode breaks native video controls in YouTube embeds
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 23 18:12:33 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=245612
Bug ID: 245612
Summary: Quirks mode breaks native video controls in YouTube
embeds
Product: WebKit
Version: Safari 16
Hardware: iPhone / iPad
OS: iOS 16
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: opendarwin at lapcatsoftware.com
Created attachment 462575
--> https://bugs.webkit.org/attachment.cgi?id=462575&action=review
Sample html demonstrating the bug
This bug occurs in Safari on iOS/iPadOS 16 and 15.
Steps to reproduce:
1) Open the attachment index.html in Mobile Safari
2) Press the YouTube play button to start the video
3) Press the native pause button to pause the video
4) Press the native play button to play the video again
Expected results:
The native video controls remain on the screen for a few seconds, and after they disappear, you can bring them back by touching the video.
Actual results:
The native video controls disappear immediately after pressing play, and when you touch the video, the native controls appear momentarily and disappear immediately. It's extremely difficult to get the native controls to stay on the screen.
If you open the Safari web inspector, disable Site-specific Hacks, and reload the page, then everything works as expected again.
I'm still trying to determine exactly which quirk is causing this, but there are a couple that look relevant:
https://github.com/WebKit/WebKit/blob/main/Source/WebCore/page/Quirks.cpp
This bug is relevant to me because I have an iOS Safari extension that shows the native video controls on sites, and the Safari quirk breaks the feature for YouTube embeds. If you know of a workaround I could use that doesn't involve disabling Site-specific Hacks, I would appreciate it.
Related: For some reason, another Safari quirk is to make YouTube videos show iOS 15 style video controls on iOS 16 unless the URL has the search parameter showinfo=0. This seems strange.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220924/dff4808a/attachment.htm>
More information about the webkit-unassigned
mailing list