Marino Faggiana 1 年間 前
コミット
df9d5524d1

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

@@ -113,7 +113,7 @@ class NCPlayer: NSObject {
     @objc func applicationDidEnterBackground(_ notification: NSNotification) {
 
         if metadata.classFile == NKCommon.TypeClassFile.video.rawValue {
-            playerPause()
+            playerStop()
         }
     }
 

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

@@ -542,7 +542,7 @@ extension NCViewerMediaPage: UIPageViewControllerDelegate, UIPageViewControllerD
         if completed && nextIndex != nil {
             previousViewControllers.forEach { viewController in
                 let viewerMedia = viewController as! NCViewerMedia
-                viewerMedia.ncplayer?.playerPause()
+                viewerMedia.ncplayer?.playerStop()
             }
             currentIndex = nextIndex!
         }