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
@ -47,6 +47,9 @@ abstract class BasePlayerGestureListener(
|
|||||||
startMultiDoubleTap(event)
|
startMultiDoubleTap(event)
|
||||||
} else if (portion === DisplayPortion.MIDDLE) {
|
} else if (portion === DisplayPortion.MIDDLE) {
|
||||||
player.playPause()
|
player.playPause()
|
||||||
|
if (player.isPlaying) {
|
||||||
|
playerUi.hideControls(0, 0)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user