Commit 05eb13f0 by Valera Rozuvan

Fixing JS.

There were previous merge conflicts in the file.
parent 55fde6e5
......@@ -165,11 +165,16 @@ function () {
'scroll', this.videoControl.showControls
);
} else if (!this.config.autohideHtml5) {
// this.videoCaption.subtitlesEl.on('mousemove', this.videoCaption.autoShowCaptions);
this.videoCaption.subtitlesEl.on('keydown', this.videoCaption.autoShowCaptions);
this.videoCaption.subtitlesEl.on(
'keydown', this.videoCaption.autoShowCaptions
);
this.videoCaption.hideSubtitlesEl.on('mousemove', this.videoCaption.autoShowCaptions);
this.videoCaption.hideSubtitlesEl.on('keydown', this.videoCaption.autoShowCaptions);
this.videoCaption.hideSubtitlesEl.on(
'mousemove', this.videoCaption.autoShowCaptions
);
this.videoCaption.hideSubtitlesEl.on(
'keydown', this.videoCaption.autoShowCaptions
);
// Moving slider on subtitles is not a mouse move,
// but captions should not be auto-hidden.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment