diff --git a/webroot/js/player/player.js b/webroot/js/player/player.js index 47b9905e6..fc769c4d1 100644 --- a/webroot/js/player/player.js +++ b/webroot/js/player/player.js @@ -45,7 +45,9 @@ function setupPlayerEventHandlers() { // }) // player.on('playing', function (e) { - clearTimeout(playerRestartTimer); + if (playerRestartTimer) { + clearTimeout(playerRestartTimer); + } }) // // player.on('waiting', function (e) {