only show one icon on load

This commit is contained in:
j 2016-07-26 17:46:32 +02:00
parent 33519b3260
commit eac7a05584

View file

@ -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);