dont show paused icon if paused=false
This commit is contained in:
parent
8cba68a55f
commit
c0bc86b1ca
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue