modify upload data
This commit is contained in:
@@ -476,7 +476,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
|
||||
gsyVideoOptionBuilder.setUrl(mVideoUrl).setCacheWithPlay(false).setPlayTag(TAG)
|
||||
.build(simpleCoverVideoPlayer);
|
||||
simpleCoverVideoPlayer.getStartButton().performClick();
|
||||
traceVideoPlayStatusData("1");
|
||||
traceVideoPlayStatusData();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -668,7 +668,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
|
||||
gsyVideoOptionBuilder.setUrl(videoUrl).setCacheWithPlay(false).setPlayTag(TAG)
|
||||
.build(simpleCoverVideoPlayer);
|
||||
simpleCoverVideoPlayer.getStartButton().performClick();
|
||||
traceVideoPlayStatusData("2");
|
||||
traceVideoPlayStatusData();
|
||||
|
||||
if (mImageUrl == null) {
|
||||
return;
|
||||
@@ -677,15 +677,10 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
|
||||
|
||||
/**
|
||||
* 上传播放
|
||||
* @param type
|
||||
* type=1 主动触发播放
|
||||
*
|
||||
* type=2 自动播放
|
||||
*/
|
||||
private void traceVideoPlayStatusData(String type) {
|
||||
Map<String, Object> properties = new HashMap<>();
|
||||
properties.put("type", type);
|
||||
mAnalytics.track(TanluConstants.CARNET_USER_VIDEO_PLAY, properties);
|
||||
private void traceVideoPlayStatusData() {
|
||||
mAnalytics.track(TanluConstants.CARNET_USER_VIDEO_PLAY, null);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user