From eac7a05584fc1ef69af6252ccabc6240cd0d95ba Mon Sep 17 00:00:00 2001 From: j Date: Tue, 26 Jul 2016 17:46:32 +0200 Subject: [PATCH] only show one icon on load --- source/UI/js/Video/VideoPlayer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/UI/js/Video/VideoPlayer.js b/source/UI/js/Video/VideoPlayer.js index 4e4a1989..78a48591 100644 --- a/source/UI/js/Video/VideoPlayer.js +++ b/source/UI/js/Video/VideoPlayer.js @@ -1899,6 +1899,7 @@ Ox.VideoPlayer = function(options, self) { window.removeEventListener('touchstart', removeBehaviorsRestrictions); $playIcon.remove(); showLoadingIcon(); + self.options.showIconOnLoad = false; } window.addEventListener('keydown', removeBehaviorsRestrictions); window.addEventListener('mousedown', removeBehaviorsRestrictions);