Don't play HTML5 media in the WebIf Browse Files window

This commit is contained in:
df 2021-03-15 16:37:13 +00:00
parent f032f8b469
commit 7964145677

View File

@ -839,7 +839,7 @@ function doplay(it)
if (vc && vc[0]) { if (vc && vc[0]) {
/* base on page address to handle client on external network, etc */ /* base on page address to handle client on external network, etc */
var hh = new URL(file, window.location.href); var hh = new URL(file, window.location.href);
window.location = hh.href; window.open(hh.href, 'WebIf_Player');
} else { } else {
window.location = '/browse/play.jim?' + window.location = '/browse/play.jim?' +
'dir=' + encodeURIComponent(dir) + 'dir=' + encodeURIComponent(dir) +