forked from recloudstream/cloudstream
fixed back issue and seek issue
This commit is contained in:
parent
d81cbee7f4
commit
355aff9d3f
1 changed files with 5 additions and 4 deletions
|
@ -287,7 +287,7 @@ open class FullScreenPlayer : AbstractPlayerFragment(R.layout.fragment_player) {
|
||||||
private fun rewind() {
|
private fun rewind() {
|
||||||
try {
|
try {
|
||||||
player_center_menu?.isGone = false
|
player_center_menu?.isGone = false
|
||||||
player_ffwd_holder?.alpha = 1f
|
player_rew_holder?.alpha = 1f
|
||||||
|
|
||||||
val rotateLeft = AnimationUtils.loadAnimation(context, R.anim.rotate_left)
|
val rotateLeft = AnimationUtils.loadAnimation(context, R.anim.rotate_left)
|
||||||
exo_rew?.startAnimation(rotateLeft)
|
exo_rew?.startAnimation(rotateLeft)
|
||||||
|
@ -302,7 +302,7 @@ open class FullScreenPlayer : AbstractPlayerFragment(R.layout.fragment_player) {
|
||||||
exo_rew_text?.post {
|
exo_rew_text?.post {
|
||||||
resetRewindText()
|
resetRewindText()
|
||||||
player_center_menu?.isGone = !isShowing
|
player_center_menu?.isGone = !isShowing
|
||||||
player_ffwd_holder?.alpha = if (isShowing) 1f else 0f
|
player_rew_holder?.alpha = if (isShowing) 1f else 0f
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -318,6 +318,7 @@ open class FullScreenPlayer : AbstractPlayerFragment(R.layout.fragment_player) {
|
||||||
try {
|
try {
|
||||||
player_center_menu?.isGone = false
|
player_center_menu?.isGone = false
|
||||||
player_ffwd_holder?.alpha = 1f
|
player_ffwd_holder?.alpha = 1f
|
||||||
|
|
||||||
val rotateRight = AnimationUtils.loadAnimation(context, R.anim.rotate_right)
|
val rotateRight = AnimationUtils.loadAnimation(context, R.anim.rotate_right)
|
||||||
exo_ffwd?.startAnimation(rotateRight)
|
exo_ffwd?.startAnimation(rotateRight)
|
||||||
|
|
||||||
|
@ -385,10 +386,10 @@ open class FullScreenPlayer : AbstractPlayerFragment(R.layout.fragment_player) {
|
||||||
//TITLE
|
//TITLE
|
||||||
player_video_title_rez?.startAnimation(fadeAnimation)
|
player_video_title_rez?.startAnimation(fadeAnimation)
|
||||||
player_video_title?.startAnimation(fadeAnimation)
|
player_video_title?.startAnimation(fadeAnimation)
|
||||||
|
player_top_holder?.startAnimation(fadeAnimation)
|
||||||
// BOTTOM
|
// BOTTOM
|
||||||
player_lock_holder?.startAnimation(fadeAnimation)
|
player_lock_holder?.startAnimation(fadeAnimation)
|
||||||
player_go_back_holder?.startAnimation(fadeAnimation)
|
//player_go_back_holder?.startAnimation(fadeAnimation)
|
||||||
|
|
||||||
shadow_overlay?.startAnimation(fadeAnimation)
|
shadow_overlay?.startAnimation(fadeAnimation)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue