video edit panel: use external controls

This commit is contained in:
rlx 2013-07-14 19:52:00 +00:00
parent 77d9cd5e3a
commit 8806961465

View file

@ -146,6 +146,7 @@ Ox.VideoEditPanel = function(options, self) {
enableMouse: true, enableMouse: true,
enablePosition: true, enablePosition: true,
enableTimeline: true, enableTimeline: true,
externalControls: true,
height: getPlayerHeight(), height: getPlayerHeight(),
'in': self.options['in'], 'in': self.options['in'],
loop: self.options.loop, loop: self.options.loop,
@ -331,7 +332,7 @@ Ox.VideoEditPanel = function(options, self) {
} }
function getPlayerHeight() { function getPlayerHeight() {
return self.options.height - 24 return self.options.height - 24 - 32
- self.options.showTimeline * 80 - 1; - self.options.showTimeline * 80 - 1;
} }