Browse Source

Coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 years ago
parent
commit
e79781352b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

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

@@ -243,6 +243,8 @@ class NCPlayer: NSObject {
 
     func activateObserver() {
 
+        print("activate Observer")
+
         // At end go back to start & show toolbar
         observerAVPlayerItemDidPlayToEndTime = NotificationCenter.default.addObserver(forName: .AVPlayerItemDidPlayToEndTime, object: player?.currentItem, queue: .main) {  [weak self] notification in