timeline is optional
This commit is contained in:
parent
7ca9a4a9e7
commit
4600cd9134
1 changed files with 2 additions and 2 deletions
|
@ -1956,7 +1956,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
setSize(self.$spaceTop, getCSS('spaceTop'), animate);
|
||||
setSize(self.$controlsBottom, getCSS('controlsBottom'), animate);
|
||||
setSize(self.$timeline, getCSS('timeline'), animate, function() {
|
||||
self.$timeline.options({
|
||||
self.$timeline && self.$timeline.options({
|
||||
width: self.timelineWidth
|
||||
});
|
||||
});
|
||||
|
@ -2326,7 +2326,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
setSizes();
|
||||
} else if (key == 'in' || key == 'out') {
|
||||
self.options.paused && setMarkers();
|
||||
self.$timeline.options(key, value);
|
||||
self.$timeline && self.$timeline.options(key, value);
|
||||
} else if (key == 'muted') {
|
||||
toggleMuted();
|
||||
} else if (key == 'paused') {
|
||||
|
|
Loading…
Reference in a new issue