merging changes
This commit is contained in:
parent
cb1024a1f7
commit
e3d9969c93
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ Ox.VideoPreview = function(options, self) {
|
||||||
self.$interface = Ox.Element({
|
self.$interface = Ox.Element({
|
||||||
tooltip: function(event) {
|
tooltip: function(event) {
|
||||||
//event.offsetX does not work in Firefox
|
//event.offsetX does not work in Firefox
|
||||||
|
// fixme: use layerX then
|
||||||
var position = getPosition(event.clientX - that.offset().left);
|
var position = getPosition(event.clientX - that.offset().left);
|
||||||
self.$frame.attr({src: self.options.getFrame(position)});
|
self.$frame.attr({src: self.options.getFrame(position)});
|
||||||
return Ox.formatDuration(position, 2);
|
return Ox.formatDuration(position, 2);
|
||||||
|
|
Loading…
Reference in a new issue