[webkit-changes] [WebKit/WebKit] 27990d: Disable playsinline requirement for MediaStream ba...

youennf noreply at github.com
Fri Mar 8 11:02:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 27990dcc2c14f0068f25cb249913a52e557865c4
      https://github.com/WebKit/WebKit/commit/27990dcc2c14f0068f25cb249913a52e557865c4
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-03-08 (Fri, 08 Mar 2024)

  Changed paths:
    M Source/WebCore/html/MediaElementSession.cpp

  Log Message:
  -----------
  Disable playsinline requirement for MediaStream based HTMLMediaElement
https://bugs.webkit.org/show_bug.cgi?id=270690
rdar://101353474

Reviewed by Eric Carlson.

playsinline is often not set on media elements that render media streams.
This triggers a compat issue where the local camera preview might end up being full screen.

We disable playsinline requirement for media stream based media elements.
The compat risk is very low and is a first step towards disabling playsinline everywhere.

* Source/WebCore/html/MediaElementSession.cpp:
(WebCore::MediaElementSession::requiresFullscreenForVideoPlayback const):

Canonical link: https://commits.webkit.org/275849@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