From 0c94f8e475f9d69686166f7d343378ce8556f0e2 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 7 Nov 2021 18:18:32 -0800 Subject: [PATCH] Session player streaming improvements. --- views/default.handlebars | 2 +- views/player.handlebars | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/views/default.handlebars b/views/default.handlebars index da973214..ffaf4639 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -14989,7 +14989,7 @@ if (rec.present == 1) { icon = 'm1'; actions = '
 
'; - actions += '
 
'; + actions += '
 
'; } var x = ''; x += '
'; diff --git a/views/player.handlebars b/views/player.handlebars index 7389eda0..bc6c1d1f 100644 --- a/views/player.handlebars +++ b/views/player.handlebars @@ -30,7 +30,7 @@
- +
@@ -202,7 +202,13 @@ } } - ws.onclose = function (e) { console.log('Session Streaming - Disconnected'); restart(); } + ws.onclose = function (e) { + console.log('Session Streaming - Disconnected'); + ws = null; + urlargs.stream = null; + QV('OpenFileButton', true); + cleanup(); + } } else { QV('OpenFileButton', true); }