From 4627b2e344a8988d941aaf47ee6aaa2dab62329a Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 11 Feb 2013 12:03:40 +0530 Subject: [PATCH] rename tooltip to videoTooltip --- source/Ox.UI/js/Video/VideoPreview.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() {