diff --git a/source/Ox.UI/js/Video/VideoPreview.js b/source/Ox.UI/js/Video/VideoPreview.js index 528c6ea2..09a38d6d 100644 --- a/source/Ox.UI/js/Video/VideoPreview.js +++ b/source/Ox.UI/js/Video/VideoPreview.js @@ -20,7 +20,7 @@ Ox.VideoPreview = function(options, self) { position: void 0, scaleToFill: false, timeline: '', - tooltip: null, + videoTooltip: null, width: 256 }) .options(options || {}) @@ -70,8 +70,8 @@ Ox.VideoPreview = function(options, self) { tooltip: function(event) { // e.offsetX does not work in Firefox var position = getPosition(event.clientX - that.offset().left), - tooltip = Ox.isFunction(self.options.tooltip) - ? self.options.tooltip() : self.options.tooltip; + tooltip = Ox.isFunction(self.options.videoTooltip) + ? self.options.videoTooltip() : self.options.videoTooltip; self.$frame.attr({src: getClosestFrame(position)}); self.timeout && clearTimeout(self.timeout); self.timeout = setTimeout(function() {