forked from openlp/openlp
Bug #963955 : Rename controllersVisible to controlsVisible.
This commit is contained in:
parent
54fac2266e
commit
5c82a0c3dd
@ -296,7 +296,7 @@ class MediaController(object):
|
||||
player.resize(display)
|
||||
|
||||
def video(self, controller, file, muted, isBackground, hidden=False,
|
||||
isInfo=False, controllersVisible=True):
|
||||
isInfo=False, controlsVisible=True):
|
||||
"""
|
||||
Loads and starts a video to run with the option of sound
|
||||
"""
|
||||
@ -363,7 +363,7 @@ class MediaController(object):
|
||||
unicode(translate('MediaPlugin.MediaItem',
|
||||
'Unsupported File')))
|
||||
return False
|
||||
self.set_controls_visible(controller, controllersVisible)
|
||||
self.set_controls_visible(controller, controlsVisible)
|
||||
log.debug(u'use %s controller' % self.curDisplayMediaPlayer[display])
|
||||
return True
|
||||
|
||||
|
@ -216,7 +216,7 @@ class MediaMediaItem(MediaManagerItem):
|
||||
# Phonon/Webkit.
|
||||
if self.plugin.mediaController.video(self.mediaController,
|
||||
filename, muted=False, isBackground=False, isInfo=True,
|
||||
controllersVisible=False):
|
||||
controlsVisible=False):
|
||||
self.mediaLength = self.mediaController.media_info.length
|
||||
service_item.media_length = self.mediaLength
|
||||
if self.mediaLength > 0:
|
||||
|
Loading…
Reference in New Issue
Block a user