埋点 - video播放暂停+1
This commit is contained in:
parent
af87e4da5d
commit
d1bbf7c523
|
|
@ -186,7 +186,7 @@ class HomeItemFragment : AppViewsEmptyViewModelFragment<ViewBinding>() {
|
||||||
mapOf(
|
mapOf(
|
||||||
"video_id" to it.id,
|
"video_id" to it.id,
|
||||||
"watch_duration" to mCurPlayedSecond.toInt(), //Second
|
"watch_duration" to mCurPlayedSecond.toInt(), //Second
|
||||||
"is_completed" to (Math.abs(mTotalDuration - mCurPlayedSecond) < 2),
|
"is_completed" to (mCurPlayedSecond>= mTotalDuration || Math.abs(mTotalDuration - mCurPlayedSecond) < 2),
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue