only show one icon on load
This commit is contained in:
parent
33519b3260
commit
eac7a05584
1 changed files with 1 additions and 0 deletions
|
@ -1899,6 +1899,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
window.removeEventListener('touchstart', removeBehaviorsRestrictions);
|
window.removeEventListener('touchstart', removeBehaviorsRestrictions);
|
||||||
$playIcon.remove();
|
$playIcon.remove();
|
||||||
showLoadingIcon();
|
showLoadingIcon();
|
||||||
|
self.options.showIconOnLoad = false;
|
||||||
}
|
}
|
||||||
window.addEventListener('keydown', removeBehaviorsRestrictions);
|
window.addEventListener('keydown', removeBehaviorsRestrictions);
|
||||||
window.addEventListener('mousedown', removeBehaviorsRestrictions);
|
window.addEventListener('mousedown', removeBehaviorsRestrictions);
|
||||||
|
|
Loading…
Reference in a new issue