do not hide the video Play button if we are at the beginning
This commit is contained in:
parent
adc5b9b856
commit
0ca8cca358
|
@ -584,7 +584,9 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
|||
mHidePauseHandler.removeCallbacksAndMessages(null)
|
||||
} else {
|
||||
mHidePauseHandler.postDelayed({
|
||||
mView!!.video_play_outline.animate().alpha(0f).start()
|
||||
if (mExoPlayer?.currentPosition ?: 0 > 0) {
|
||||
mView!!.video_play_outline.animate().alpha(0f).start()
|
||||
}
|
||||
}, HIDE_PAUSE_DELAY)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue