marinofaggiana 3 năm trước cách đây
mục cha
commit
92c112cf78

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

@@ -269,6 +269,8 @@ class NCPlayerToolBar: UIView {
         if newTime < ncplayer.getVideoDurationSeconds() {
             let time: CMTime = CMTimeMake(value: Int64(newTime * 1000 as Float64), timescale: 1000)
             ncplayer.videoSeek(time: time)
+        } else if newTime >= ncplayer.getVideoDurationSeconds() {
+            ncplayer.videoSeek(time: .zero)
         }
     }