From 40a13a871ae9ec5a5b23748b2b9586fd0bb0935b Mon Sep 17 00:00:00 2001 From: df Date: Tue, 16 Feb 2021 02:00:33 +0000 Subject: [PATCH] Play file in browser or with external helper application Create a new `play.jim` here. The `/play` subtree is now obsolete and can be removed. --- 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 d3d2754..b4ce507 100755 --- a/webif/html/browse/script.js +++ b/webif/html/browse/script.js @@ -835,7 +835,7 @@ function doplay(it) var hh = new URL(file, window.location.href); window.location = hh.href; } else { - window.location = '/play/play.jim?' + + window.location = '/browse/play.jim?' + 'dir=' + encodeURIComponent(dir) + '&base=' + encodeURI(window.location.href) + '&duration=' + duration +