From 5b9171866b1ee688ed55ae77ae4c54dcda362ee2 Mon Sep 17 00:00:00 2001 From: Jonathan Springer Date: Mon, 29 May 2017 12:27:42 -0400 Subject: [PATCH] Fix video backboard not being hidden when switching to next non media slide --- openlp/core/ui/media/mediacontroller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/media/mediacontroller.py b/openlp/core/ui/media/mediacontroller.py index 3f4bd2fd0..550d83b0f 100644 --- a/openlp/core/ui/media/mediacontroller.py +++ b/openlp/core/ui/media/mediacontroller.py @@ -432,7 +432,7 @@ class MediaController(RegistryMixin, OpenLPMixin, RegistryProperties): log.debug('video mediatype: ' + str(controller.media_info.media_type)) # dont care about actual theme, set a black background if controller.is_live and not controller.media_info.is_background: - display.frame.evaluateJavaScript('show_video( "setBackBoard", null, null, null,"visible");') + display.frame.evaluateJavaScript('show_video( "setBackBoard", null, null,"visible");') # now start playing - Preview is autoplay! autoplay = False # Preview requested @@ -802,7 +802,7 @@ class MediaController(RegistryMixin, OpenLPMixin, RegistryProperties): display.override = {} self.current_media_players[controller.controller_type].reset(display) self.current_media_players[controller.controller_type].set_visible(display, False) - display.frame.evaluateJavaScript('show_video( "setBackBoard", null, null, null,"hidden");') + display.frame.evaluateJavaScript('show_video("setBackBoard", null, null, "hidden");') del self.current_media_players[controller.controller_type] def media_hide(self, msg):