Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b60929b1b7a1d9f1785bcaa50fcdb19b5f0e5a3e
      
https://github.com/WebKit/WebKit/commit/b60929b1b7a1d9f1785bcaa50fcdb19b5f0e5a3e
  Author: Ryan Fuller <[email protected]>
  Date:   2025-04-04 (Fri, 04 Apr 2025)

  Changed paths:
    M Source/WebKit/WebKitSwift/LinearMediaKit/LinearMediaPlayer.swift

  Log Message:
  -----------
  [visionOS] Set an empty view for the contentOverlay during external 
presentation of LinearMediaPlayer
https://bugs.webkit.org/show_bug.cgi?id=291007
rdar://148231216

Reviewed by Tim Horton.

Having a non-nil contentOverlay on LinearMediaPlayer is required for external 
presentation
consumers to hook into to create various visual effects on the player. 
Consumers can use
the generic Playable contentOverlayPublisher to retrieve this view.

* Source/WebKit/WebKitSwift/LinearMediaKit/LinearMediaPlayer.swift:
(WKSLinearMediaPlayer.enterExternalPresentation(_:(any Error)?) -> Void:)):
Set the contentOverlay to an empty view once in external playback.

(WKSLinearMediaPlayer.exitExternalPresentation(_:(any Error)?) -> Void:)):
Clear the contentOverlay on exit.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to