瀏覽代碼

播放时保存播放进度

jsonwang 3 年之前
父節點
當前提交
b649942246
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      BFFramework/Classes/Utils/PQSingletoVideoPlayer.swift

+ 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)
             }