diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index d47d6de1..7d9a10f9 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -297,7 +297,7 @@ struct VideoPlayerView: View { pipDelegate.player = player player.pipDelegate = pipDelegate - player.pipController!.delegate = pipDelegate + player.pipController?.delegate = pipDelegate player.playerLayerView.playerLayer.player = player.avPlayerBackend.avPlayer } #endif