Fix hidden cursor on video's start

This commit is contained in:
Eduard Kuzmenko 2022-02-10 14:55:20 +04:00
parent 9ef094eb07
commit ce189ee115

View File

@ -422,11 +422,11 @@ export default class VideoPlayer extends ControlsHover {
listenerSetter.add(video)('play', () => {
wrapper.classList.add('played');
}, {once: true});
listenerSetter.add(video)('play', () => {
this.hideControls(true);
});
listenerSetter.add(video)('play', () => {
this.hideControls(true);
});
}, {once: true});
listenerSetter.add(video)('pause', () => {
this.showControls(false);