make video editor accept position option
This commit is contained in:
parent
d21068979a
commit
6f64ad3512
2 changed files with 1 additions and 2 deletions
|
@ -993,7 +993,7 @@ Ox.VideoEditor = function(options, self) {
|
||||||
Ox.print('XXXX setSizes', key, value, self.options.width, self.options.height)
|
Ox.print('XXXX setSizes', key, value, self.options.width, self.options.height)
|
||||||
setSizes();
|
setSizes();
|
||||||
} else if (key == 'position') {
|
} else if (key == 'position') {
|
||||||
self.$player[0].position(value);
|
setPosition(value);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,6 @@ Ox.VideoPreview = function(options, self) {
|
||||||
if (key == 'frameHeight') {
|
if (key == 'frameHeight') {
|
||||||
self.$frame.css({height: value + 'px'});
|
self.$frame.css({height: value + 'px'});
|
||||||
} else if (key == 'frameWidth') {
|
} else if (key == 'frameWidth') {
|
||||||
Ox.print('PREVIEW WIDTH', value);
|
|
||||||
self.$frame.attr({src: self.options.getFrame()})
|
self.$frame.attr({src: self.options.getFrame()})
|
||||||
.css({width: value + 'px'});
|
.css({width: value + 'px'});
|
||||||
self.$timeline.css({width: value + 'px'});
|
self.$timeline.css({width: value + 'px'});
|
||||||
|
|
Loading…
Reference in a new issue