[webkit-changes] [WebKit/WebKit] fb92aa: [iOS] Define a runtime feature flag for LinearMedi...

aestes noreply at github.com
Mon Feb 12 13:47:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fb92aa9cc02bec122dc9147bfdec0a302e1b4046
      https://github.com/WebKit/WebKit/commit/fb92aa9cc02bec122dc9147bfdec0a302e1b4046
  Author: Andy Estes <aestes at apple.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WebCore/html/HTMLMediaElement.cpp

  Log Message:
  -----------
  [iOS] Define a runtime feature flag for LinearMediaPlayer
https://bugs.webkit.org/show_bug.cgi?id=269210
rdar://122814889

Reviewed by Eric Carlson.

Defined a LinearMediaPlayerEnabled web preference with a default value of false. When the
preference is enabled, deactivated the code path in HTMLMediaElement that requires element
fullscreen for video fullscreen.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WTF/wtf/PlatformEnable.h:
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::enterFullscreen):

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




More information about the webkit-changes mailing list