diff --git a/youtube.js b/youtube.js index 046298b..59a78f9 100644 --- a/youtube.js +++ b/youtube.js @@ -118,6 +118,9 @@ angular.module("info.vietnamcode.nampnq.videogular.plugins.youtube", []) } function startUpdateTimer(interval) { + if (updateTimer) { + stopUpdateTimer(); + } updateTimer = setInterval(updateTime, interval); }