dont show paused icon if paused=false

This commit is contained in:
j 2014-02-04 19:24:25 +00:00
parent 8cba68a55f
commit c0bc86b1ca

View file

@ -262,6 +262,9 @@ Ox.VideoPlayer = function(options, self) {
self.out = self.options.duration || 86399; // fixme: ugly self.out = self.options.duration || 86399; // fixme: ugly
} }
self.options.position = Ox.limit(self.options.position, self['in'], self.out); self.options.position = Ox.limit(self.options.position, self['in'], self.out);
if (!self.options.paused) {
self.options.showIconOnLoad = false;
}
self.hasVolumeControl = self.options.controlsTop.indexOf('volume') > -1 self.hasVolumeControl = self.options.controlsTop.indexOf('volume') > -1
|| self.options.controlsBottom.indexOf('volume') > -1; || self.options.controlsBottom.indexOf('volume') > -1;