Show stream opening status with AVPlayer

This commit is contained in:
Arkadiusz Fal
2023-05-21 12:09:18 +02:00
parent 2b7ccc4b03
commit c6798be167
6 changed files with 174 additions and 143 deletions

View File

@@ -48,12 +48,12 @@ struct PlayerBackendView: View {
#if !os(tvOS)
if player.activeBackend == .mpv || !avPlayerUsesSystemControls {
PlayerGestures()
PlayerControls()
#if os(iOS)
.padding(.top, controlsTopPadding)
.padding(.bottom, controlsBottomPadding)
#endif
}
PlayerControls()
#if os(iOS)
.padding(.top, controlsTopPadding)
.padding(.bottom, controlsBottomPadding)
#endif
#else
hiddenControlsButton
#endif