Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c5127002b1e4217a9a1eabff9d7517efbad9add8
      
https://github.com/WebKit/WebKit/commit/c5127002b1e4217a9a1eabff9d7517efbad9add8
  Author: Jer Noble <[email protected]>
  Date:   2023-05-10 (Wed, 10 May 2023)

  Changed paths:
    M Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm

  Log Message:
  -----------
  [iOS] Tapping full screen when in PIP causes blank black screen
https://bugs.webkit.org/show_bug.cgi?id=256577
rdar://108065606

Reviewed by Eric Carlson.

When a page requests element fullscreen when the video inside the target is in 
PiP,
the state machine gets confused, thinking the app is existing auto-pip. This 
area
of code is deeply in need of a re-factoring, but until then, explicity return 
the
video layer to its original WebAVPlayerLayer at the end of 
didStopPictureInPicture().

* Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm:
(VideoFullscreenInterfaceAVKit::didStopPictureInPicture):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to