Comment clean up

This commit is contained in:
Sam Potts 2020-01-13 16:22:49 +00:00
parent 4f06e2eb71
commit 166a27d094

View File

@ -390,7 +390,8 @@ class Listeners {
if (player.isHTML5 && player.isVideo && player.config.resetOnEnd) {
// Restart
player.restart();
// call pause otherwise IE11 will start playing the video again
// Call pause otherwise IE11 will start playing the video again
player.pause();
}
});
@ -665,7 +666,7 @@ class Listeners {
const code = event.keyCode ? event.keyCode : event.which;
const attribute = 'play-on-seeked';
if (is.keyboardEvent(event) && (code !== 39 && code !== 37)) {
if (is.keyboardEvent(event) && code !== 39 && code !== 37) {
return;
}