Prevents IE11 with resetOnEnd option set to true to play video again

This commit is contained in:
Felipe K. De Boni 2019-09-16 11:53:07 -03:00
parent dfc09b8e04
commit bb43ef15fe

View File

@ -390,6 +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
player.pause();
}
});