diff --git a/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/touchOverlay.js b/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/touchOverlay.js index 00fe9271d..8dd112926 100644 --- a/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/touchOverlay.js +++ b/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/touchOverlay.js @@ -34,7 +34,7 @@ class TouchOverlay extends Component { this.addChild('playToggle', {}); // Clear overlay when playback starts or with control fade - player.on(['playing', 'userinactive'], e => { + player.on(['playing', 'userinactive'], (e) => { if (!this.player_.paused()) { this.removeClass('show-play-toggle'); } @@ -104,27 +104,6 @@ class TouchOverlay extends Component { handleSingleTap(event) { this.removeClass('skip'); this.toggleClass('show-play-toggle'); - - // At the moment, we only have one