Merge pull request #13030 from iampopovich/fix/6815-double-tap-to-resume
[fix] Hide controls when resuming playback via double tap
This commit is contained in:
commit
232d023c02
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.isPlaying) {
|
||||
playerUi.hideControls(0, 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue