From c6e8a84f6531ef5d37a5787bd15043f9533585c0 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Fri, 17 Feb 2012 20:55:00 +0000 Subject: [PATCH] better tooltip for in/out players (fixes #501) --- source/Ox.UI/js/Video/Ox.VideoPlayer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/Ox.VideoPlayer.js b/source/Ox.UI/js/Video/Ox.VideoPlayer.js index 1e4d0a27..e695a84d 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoPlayer.js @@ -650,7 +650,9 @@ Ox.VideoPlayer = function(options, self) { + self.options.showMilliseconds * 6; self.$position = Ox.Element({ - tooltip: 'Position' + tooltip: self.options.type == 'play' ? 'Position' + : self.options.type == 'in' ? 'In Point' + : 'Out Point' }) .addClass('OxPosition') .css({