Hide controls when resuming playback via double tap
Remove redundant comment about hiding controls on double tap
This commit is contained in:
parent
52a9b60180
commit
caebf8461a
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ abstract class BasePlayerGestureListener(
|
|||
startMultiDoubleTap(event)
|
||||
} else if (portion === DisplayPortion.MIDDLE) {
|
||||
player.playPause()
|
||||
if (player.currentState == Player.STATE_PLAYING) {
|
||||
playerUi.hideControls(0, 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue