Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b805ee18766623b1bf25c745294297443923d807
https://github.com/WebKit/WebKit/commit/b805ee18766623b1bf25c745294297443923d807
Author: Phinehas Fuachie <[email protected]>
Date: 2025-12-12 (Fri, 12 Dec 2025)
Changed paths:
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/QuirksData.h
Log Message:
-----------
Autoplay to next video from full screen causes it to exit to inline
https://bugs.webkit.org/show_bug.cgi?id=304056
rdar://162684936
Reviewed by Brent Fulgham.
IMDb's fullscreen video player exits fullscreen prematurely when autoplaying to
the next video on
iPad. This is caused by JWPlayer detecting iOS using `navigator.maxTouchPoints
> 1 &&
navigator.platform === "MacIntel"` and applying iOS-specific code that exits
fullscreen when
videos end.
Adding imdb.com to `needsZeroMaxTouchPointsQuirk` resolves this issue by
returning 0 for
maxTouchPoints, preventing incorrect iOS detection in desktop mode on iPad.
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsZeroMaxTouchPointsQuirk const):
(WebCore::handleIMDBQuirks):
* Source/WebCore/page/QuirksData.h:
Canonical link: https://commits.webkit.org/304393@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications