From 7964145677c638f2dd161b0e5440a267ec2c1b36 Mon Sep 17 00:00:00 2001 From: df Date: Mon, 15 Mar 2021 16:37:13 +0000 Subject: [PATCH] Don't play HTML5 media in the WebIf Browse Files window --- webif/html/browse/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webif/html/browse/script.js b/webif/html/browse/script.js index 2ed094f..be4a9bf 100755 --- a/webif/html/browse/script.js +++ b/webif/html/browse/script.js @@ -839,7 +839,7 @@ function doplay(it) if (vc && vc[0]) { /* base on page address to handle client on external network, etc */ var hh = new URL(file, window.location.href); - window.location = hh.href; + window.open(hh.href, 'WebIf_Player'); } else { window.location = '/browse/play.jim?' + 'dir=' + encodeURIComponent(dir) +