forked from openlp/openlp
Fix background video
This commit is contained in:
parent
e9806f8e6b
commit
580de0015f
@ -642,7 +642,7 @@ class MediaController(object):
|
|||||||
log.debug(u'media_reset')
|
log.debug(u'media_reset')
|
||||||
self.set_controls_visible(controller, False)
|
self.set_controls_visible(controller, False)
|
||||||
display = self._define_display(controller)
|
display = self._define_display(controller)
|
||||||
if display in self.currentMediaPlayer:
|
if controller.controllerType in self.currentMediaPlayer:
|
||||||
display.override = {}
|
display.override = {}
|
||||||
self.currentMediaPlayer[controller.controllerType].reset(display)
|
self.currentMediaPlayer[controller.controllerType].reset(display)
|
||||||
self.currentMediaPlayer[controller.controllerType] \
|
self.currentMediaPlayer[controller.controllerType] \
|
||||||
|
@ -167,8 +167,7 @@ class MediaMediaItem(MediaManagerItem):
|
|||||||
filename = unicode(item.data(QtCore.Qt.UserRole).toString())
|
filename = unicode(item.data(QtCore.Qt.UserRole).toString())
|
||||||
if os.path.exists(filename):
|
if os.path.exists(filename):
|
||||||
service_item = ServiceItem()
|
service_item = ServiceItem()
|
||||||
service_item.title = \
|
service_item.title = u'webkit'
|
||||||
unicode(self.displayTypeComboBox.currentText())
|
|
||||||
service_item.shortname = service_item.title
|
service_item.shortname = service_item.title
|
||||||
(path, name) = os.path.split(filename)
|
(path, name) = os.path.split(filename)
|
||||||
service_item.add_from_command(path, name,CLAPPERBOARD)
|
service_item.add_from_command(path, name,CLAPPERBOARD)
|
||||||
|
Loading…
Reference in New Issue
Block a user