完成光环助手V4.0-前端优化汇总(视频相关)20200508评论 https://gitlab.ghzs.com/pm/halo-app-issues/-/issues/842
This commit is contained in:
@ -730,7 +730,7 @@ class GameDetailFragment : NormalFragment() {
|
||||
horizontalVideoView.viewModel = mViewModel
|
||||
horizontalVideoView.video = topVideo
|
||||
horizontalVideoView.updateThumb(topVideo.poster)
|
||||
mBaseHandler.postDelayed({ horizontalVideoView.updateMuteStatus() }, 500)
|
||||
mBaseHandler.postDelayed({ horizontalVideoView.updateMuteStatus() }, 320)
|
||||
MtaHelper.onEvent("游戏详情_顶部视频", "顶部视频-点击进入全屏", mTopVideoView.combinedTitleAndId)
|
||||
}
|
||||
|
||||
|
||||
@ -120,7 +120,7 @@ class TopVideoView @JvmOverloads constructor(context: Context, attrs: AttributeS
|
||||
}
|
||||
|
||||
fun startPlayLogic(isAutoPlay: Boolean) {
|
||||
postDelayed({ updateMuteStatus() }, 350)
|
||||
postDelayed({ updateMuteStatus() }, 320)
|
||||
DownloadManager.getInstance(context).updateSpeedLimitationReleaseDelay(5)
|
||||
if (isAutoPlay) {
|
||||
MtaHelper.onEvent("游戏详情_顶部视频", "视频播放方式", "自动播放")
|
||||
@ -258,7 +258,7 @@ class TopVideoView @JvmOverloads constructor(context: Context, attrs: AttributeS
|
||||
replayIv.setOnClickListener {
|
||||
MtaHelper.onEvent("游戏详情_顶部视频", "${getMtaKeyPrefix()}-点击重新播放", combinedTitleAndId)
|
||||
startButton.performClick()
|
||||
postDelayed({ updateMuteStatus() }, 350)
|
||||
postDelayed({ updateMuteStatus() }, 320)
|
||||
}
|
||||
updateThumb(video!!.poster)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user