Forráskód Böngészése

重播时重置进度

jsonwang 4 éve
szülő
commit
ab69e06a21

+ 1 - 0
MusicVideoPlus/MusicVideoPlus/Classes/Modules/Home/MVHomeController.swift

@@ -139,6 +139,7 @@ class MVHomeController: MVBaseController {
         PQSingletoVideoPlayer.shared.playStatusBloc = { [weak self] status in
 
             if(status == .PQVIDEO_PLAY_STATUS_END){
+                PQSingletoVideoPlayer.shared.playVideoData!.playProgress = 0
                 PQSingletoVideoPlayer.shared.resetPlayer()
             }
         }