in Ox.VideoPanel, use setElement(...), not that. = ...
This commit is contained in:
parent
79fb1fb968
commit
c6f0308a17
1 changed files with 6 additions and 4 deletions
|
@ -262,7 +262,8 @@ Ox.VideoPanel = function(options, self) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
that.$element = Ox.SplitPanel({
|
that.setElement(
|
||||||
|
Ox.SplitPanel({
|
||||||
elements: [
|
elements: [
|
||||||
{
|
{
|
||||||
element: self.$videoPanel
|
element: self.$videoPanel
|
||||||
|
@ -278,7 +279,8 @@ Ox.VideoPanel = function(options, self) {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
orientation: 'horizontal'
|
orientation: 'horizontal'
|
||||||
});
|
})
|
||||||
|
);
|
||||||
|
|
||||||
function changeTimeline(data) {
|
function changeTimeline(data) {
|
||||||
self.options.position = data.position;
|
self.options.position = data.position;
|
||||||
|
@ -308,8 +310,8 @@ Ox.VideoPanel = function(options, self) {
|
||||||
|
|
||||||
function getTimelineWidth() {
|
function getTimelineWidth() {
|
||||||
return self.options.width -
|
return self.options.width -
|
||||||
(self.options.showAnnotations && !self.fullscreen) *
|
(self.options.showAnnotations && !self.fullscreen)
|
||||||
self.options.annotationsSize - 16 - 1;
|
* self.options.annotationsSize - 16 - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
function resizeAnnotations(data) {
|
function resizeAnnotations(data) {
|
||||||
|
|
Loading…
Reference in a new issue