Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 0c7bb63. rdar://problem/109528876
[iOS] Auto-PiP on Yahoo.com may display black feed https://bugs.webkit.org/show_bug.cgi?id=257059 rdar://109528876 Reviewed by Eric Carlson. Auto-PiP (as opposed to an explicit PiP operation) works by creating a empty WebAVPlayerLayerView, and WebAVPlayerViewController, and returning YES from the -playerViewControllerShouldStartPictureInPictureFromInlineWhenEnteringBackground: delegate. However, auto-PiP will transfer the video view from the empty WebAVPlayerLayerView to the PiP window, and if the empty view doesn't have a video view, the resulting PiP window will be empty. * Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm: (VideoFullscreenInterfaceAVKit::doSetup): Canonical link: https://commits.webkit.org/264307@main Identifier: 262728.1089@safari-7616.1.14.10-branch
- Loading branch information