handleVideoTap method
dynamic
handleVideoTap()
User video tap action.
Implementation
handleVideoTap() {
// If playerControls are showing,
// cancel the hide timer and hide the controls.
if (_showPlayerControls) {
_showPlayerControls = false;
_showPlayerControlsTimer?.cancel();
_notify();
} else {
// If playerControls are not showing,
// show player controls.
handleShowPlayerControls();
}
}