diff --git a/source/Ox.UI/js/Video/Ox.VideoPanel.js b/source/Ox.UI/js/Video/Ox.VideoPanel.js index 1d6fb0b7..2b75cd83 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPanel.js +++ b/source/Ox.UI/js/Video/Ox.VideoPanel.js @@ -262,7 +262,8 @@ Ox.VideoPanel = function(options, self) { }); }); - that.$element = Ox.SplitPanel({ + that.setElement( + Ox.SplitPanel({ elements: [ { element: self.$videoPanel @@ -278,7 +279,8 @@ Ox.VideoPanel = function(options, self) { } ], orientation: 'horizontal' - }); + }) + ); function changeTimeline(data) { self.options.position = data.position; @@ -308,8 +310,8 @@ Ox.VideoPanel = function(options, self) { function getTimelineWidth() { return self.options.width - - (self.options.showAnnotations && !self.fullscreen) * - self.options.annotationsSize - 16 - 1; + (self.options.showAnnotations && !self.fullscreen) + * self.options.annotationsSize - 16 - 1; } function resizeAnnotations(data) {