fix video preview tooltip layout

This commit is contained in:
rolux 2013-02-11 11:36:24 +05:30
parent c0e4dc6e01
commit e002e2a566

View file

@ -75,8 +75,10 @@ Ox.VideoPreview = function(options, self) {
self.timeout = setTimeout(function() { self.timeout = setTimeout(function() {
self.$frame.attr({src: self.options.getFrame(position)}); self.$frame.attr({src: self.options.getFrame(position)});
}, 250); }, 250);
return (self.options.tooltip ? self.options.tooltip + '<br>' : '') return '<div style="text-align: center>"'
+ Ox.formatDuration(position, 2); + (self.options.tooltip ? self.options.tooltip + '<br>' : '')
+ Ox.formatDuration(position, 2)
+ '</div>';
} }
}) })
.addClass('OxInterface') .addClass('OxInterface')