diff --git a/source/Ox.UI/js/Video/Ox.VideoPlayer.js b/source/Ox.UI/js/Video/Ox.VideoPlayer.js index 181ed1dc..4f8c39c2 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoPlayer.js @@ -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') {