From 50c52583040ed32eb0e5ee33507a2da16a9c1804 Mon Sep 17 00:00:00 2001 From: Tim Hobbs Date: Fri, 21 Mar 2014 11:40:38 -0700 Subject: [PATCH] Update to remote control Implements SupportsFullscreenToggle --- dashboard-ui/scripts/remotecontrol.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dashboard-ui/scripts/remotecontrol.js b/dashboard-ui/scripts/remotecontrol.js index 24e33bc0ac..11fafbeeb6 100644 --- a/dashboard-ui/scripts/remotecontrol.js +++ b/dashboard-ui/scripts/remotecontrol.js @@ -589,7 +589,7 @@ html += ''; @@ -776,7 +776,7 @@ }); } - function getPlaybackHtml() { + function getPlaybackHtml(session) { var html = ''; @@ -804,7 +804,11 @@ html += ''; html += ''; html += ''; - html += ''; + + if (session && session.SupportsFullscreenToggle) { + html += ''; + } + html += '';