Marino Faggiana 1 жил өмнө
parent
commit
b788f93a9b

+ 1 - 0
iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

@@ -204,6 +204,7 @@ extension NCPlayer: VLCMediaPlayerDelegate {
                     self.player.play()
                     self.player.pause()
                     self.player.position = 0
+                    self.viewerMediaPage?.changeScreenMode(mode: .normal)
                 }
             }
             print("Played mode: ENDED")

+ 1 - 0
iOSClient/Viewer/NCViewerMedia/NCViewerMediaPage.swift

@@ -400,6 +400,7 @@ class NCViewerMediaPage: UIViewController {
     @objc func applicationDidBecomeActive(_ notification: NSNotification) {
 
         progressView.progress = 0
+        changeScreenMode(mode: .normal)
     }
 
     // MARK: - Command Center