marinofaggiana 3 years ago
parent
commit
7518fcad98
1 changed files with 4 additions and 1 deletions
  1. 4 1
      iOSClient/Viewer/NCViewerMedia/NCViewerMediaZoom.swift

+ 4 - 1
iOSClient/Viewer/NCViewerMedia/NCViewerMediaZoom.swift

@@ -318,7 +318,10 @@ extension NCViewerMediaZoom {
         } completion: { (_) in
         } completion: { (_) in
         }
         }
         
         
-        scrollView.pinchGestureRecognizer?.isEnabled = true        
+        scrollView.pinchGestureRecognizer?.isEnabled = true
+        if metadata.classFile == NCCommunicationCommon.typeClassFile.video.rawValue && !metadata.livePhoto && appDelegate.player?.timeControlStatus == .paused {
+            playerToolBar?.showToolBar(metadata: metadata, detailView: detailView, enableTimerAutoHide: false)
+        }
     }
     }
     
     
     func reloadDetail() {
     func reloadDetail() {