Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 57c7e44d6e5e59806645c9d4da877fbbd592d86a
      
https://github.com/WebKit/WebKit/commit/57c7e44d6e5e59806645c9d4da877fbbd592d86a
  Author: Ryan Fuller <[email protected]>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M Source/WebKit/Platform/ios/VideoPresentationInterfaceLMK.mm
    M Source/WebKit/WebKitSwift/LinearMediaKit/LinearMediaPlayer.swift

  Log Message:
  -----------
  [visionOS] Guard external playback from spatial and immersive video
https://bugs.webkit.org/show_bug.cgi?id=294336
rdar://147052015

Reviewed by Ada Chan.

For immersive video, the API should reject attempts to enter when the content is
detected as immersive.

For spatial media, ensure that LinearMediaPlayer does NOT use the peculiar since
it is not setup in external playback.

* Source/WebKit/Platform/ios/VideoPresentationInterfaceLMK.mm:
(WebKit::VideoPresentationInterfaceLMK::enterExternalPlayback):
* Source/WebKit/WebKitSwift/LinearMediaKit/LinearMediaPlayer.swift:
(WKSLinearMediaPlayer.isImmersiveVideo):
(WKSLinearMediaPlayer.makeDefaultEntity):

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