fix video preview tooltip layout
This commit is contained in:
parent
c0e4dc6e01
commit
e002e2a566
1 changed files with 4 additions and 2 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue