fix bug with spacer in bottom controls

This commit is contained in:
rolux 2011-05-16 20:17:22 +02:00
parent 117c6bff62
commit cf3d611bac

View file

@ -1335,7 +1335,7 @@ Ox.VideoPlayer = function(options, self) {
self.iconSize = Math.max(Math.round(self.height / 10), 16), self.iconSize = Math.max(Math.round(self.height / 10), 16),
self.iconLeft = parseInt((self.width - self.iconSize) / 2), self.iconLeft = parseInt((self.width - self.iconSize) / 2),
self.iconTop = parseInt((self.height - self.iconSize) / 2); self.iconTop = parseInt((self.height - self.iconSize) / 2);
if (self.$timeline || self.$space) { if (self.$timeline || self.$spaceBottom) {
self.timelineWidth = self.width - self.timelineWidth = self.width -
self.options.controlsBottom.reduce(function(prev, curr) { self.options.controlsBottom.reduce(function(prev, curr) {
return prev + ( return prev + (