Prechádzať zdrojové kódy

播放时保存播放进度

jsonwang 3 rokov pred
rodič
commit
b649942246

+ 1 - 0
BFFramework/Classes/Utils/PQSingletoVideoPlayer.swift

@@ -150,6 +150,7 @@ extension PQSingletoVideoPlayer: TXVodPlayListener {
                     PQEventTrackViewModel.videoRelationReportUpload(reportLogType: .reportLogType_realPlay, videoData: playVideoData, pageSource: nil, businessType: .bt_videoRealPlay, objectType: nil, extParams: nil, shareId: nil, videoIds: nil, playId: playId)
                 }
             }
+            playVideoData!.playProgress = CGFloat(playProgress)
             if progressBloc != nil {
                 progressBloc!(loadProgress, playProgress, duration)
             }