diff --git a/Shared/Player/Controls/OSD/NetworkState.swift b/Shared/Player/Controls/OSD/NetworkState.swift index 4ece6978..b73991af 100644 --- a/Shared/Player/Controls/OSD/NetworkState.swift +++ b/Shared/Player/Controls/OSD/NetworkState.swift @@ -10,7 +10,7 @@ struct NetworkState: View { } var visible: Bool { - player.isPlaying && (model.pausedForCache || player.isSeeking) + player.isPlaying && ((player.activeBackend == .mpv && model.pausedForCache) || player.isSeeking) } } diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index 65601bf5..29170fab 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -97,8 +97,8 @@ struct VideoPlayerView: View { } #if os(iOS) .frame(width: playerWidth.isNil ? nil : Double(playerWidth!), height: playerHeight.isNil ? nil : Double(playerHeight!)) - #endif .ignoresSafeArea(.all, edges: playerEdgesIgnoringSafeArea) + #endif .onChange(of: geometry.size) { size in self.playerSize = size }