This commit is contained in:
rolux 2012-01-02 19:36:19 +05:30
commit be06c433d1

View file

@ -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') {