[webkit-changes] [WebKit/WebKit] 568a30: [iOS] premierleague.com enters video fullscreen fr...

Jer Noble noreply at github.com
Fri Mar 1 08:47:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 568a30c64835dcd59f652cf15429abdce4d9d263
      https://github.com/WebKit/WebKit/commit/568a30c64835dcd59f652cf15429abdce4d9d263
  Author: Jer Noble <jer.noble at apple.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M Source/WebCore/html/MediaElementSession.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  [iOS] premierleague.com enters video fullscreen from element fullscreen on iPhone
https://bugs.webkit.org/show_bug.cgi?id=270329
rdar://123721211

Reviewed by Eric Carlson.

premierleague.com does not include a `playsinline` attribute on their video elements,
which causes them to attempt to enter video fullscreen when playing, even in element
fullscreen. Exempt premierleague.com from the `playsinline` attribute (and consider
removing that requirement on iPhone generally).

* Source/WebCore/html/MediaElementSession.cpp:
(WebCore::MediaElementSession::requiresFullscreenForVideoPlayback const):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldIgnorePlaysInlineRequirementQuirk const):
* Source/WebCore/page/Quirks.h:

Canonical link: https://commits.webkit.org/275556@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list