From 7fc0a6bcd8480a3ddd3b4a67776943c145488889 Mon Sep 17 00:00:00 2001 From: Eusmilis Date: Thu, 25 May 2017 21:38:50 +0200 Subject: [PATCH] Fixed MediaElement controls not disappearing when streaming to chromecast. --- libresonic-main/src/main/webapp/WEB-INF/jsp/playQueueCast.jsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libresonic-main/src/main/webapp/WEB-INF/jsp/playQueueCast.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/playQueueCast.jsp index 69c089ab..9b9ba99c 100644 --- a/libresonic-main/src/main/webapp/WEB-INF/jsp/playQueueCast.jsp +++ b/libresonic-main/src/main/webapp/WEB-INF/jsp/playQueueCast.jsp @@ -90,6 +90,7 @@ */ CastPlayer.prototype.launchCastApp = function () { this.log("launching app..."); + $("#player").hide(); chrome.cast.requestSession(this.onRequestSessionSuccess.bind(this), this.onLaunchError.bind(this)); }; @@ -97,6 +98,7 @@ * Stops the running receiver application associated with the session. */ CastPlayer.prototype.stopCastApp = function () { + $("#player").show(); this.castSession.stop(this.onStopAppSuccess.bind(this, 'Session stopped'), this.onError.bind(this)); };