diff --git a/source/Ox.UI/js/Video/Ox.VideoPlayer.js b/source/Ox.UI/js/Video/Ox.VideoPlayer.js index 635fcd55..2570ab7d 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoPlayer.js @@ -754,10 +754,10 @@ Ox.VideoPlayer = function(options, self) { mouseenter: function() { $(this) .css({ - backgroundImage: '-moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5))' + backgroundImage: '-moz-linear-gradient(top, rgba(48, 48, 48, 0.5), rgba(16, 16, 16, 0.5))' }) .css({ - backgroundImage: '-webkit-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5))' + backgroundImage: '-webkit-linear-gradient(top, rgba(48, 48, 48, 0.5), rgba(16, 16, 16, 0.5))' }) }, mouseleave: function() { @@ -1493,16 +1493,23 @@ Ox.VideoPlayer = function(options, self) { } function seeked() { + Ox.print('XX seeked') clearTimeout(self.seekTimeout); + self.seekTimeout = 0; + Ox.print('XX hide') hideLoadingIcon(); self.$playIcon && self.$playIcon.show(); } function seeking() { - self.seekTimeout = setTimeout(function() { - self.$playIcon && self.$playIcon.hide(); - showLoadingIcon(); - }, 250); + Ox.print('XX seeking') + if (!self.seekTimeout) { + self.seekTimeout = setTimeout(function() { + self.$playIcon && self.$playIcon.hide(); + Ox.print('XX show') + showLoadingIcon(); + }, 250); + } } function setPosition(position, from) {