From ffc2504c0fd9d04b9eaf81ce25ce6e7d9deae110 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 30 Nov 2022 19:44:15 +0100 Subject: [PATCH] download via media url --- static/js/downloadVideoDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/downloadVideoDialog.js b/static/js/downloadVideoDialog.js index 9e32cad9..0eb3acac 100644 --- a/static/js/downloadVideoDialog.js +++ b/static/js/downloadVideoDialog.js @@ -128,7 +128,7 @@ pandora.ui.downloadVideoDialog = function(options) { }, function(result) { if (result.data.taskId) { pandora.wait(result.data.taskId, function(result) { - console.log('wait -> ', result) + //console.log('wait -> ', result) if (result.data.result) { url = '/' + options.item + '/' + values.resolution @@ -163,7 +163,7 @@ pandora.ui.downloadVideoDialog = function(options) { } if (url) { that.close(); - document.location.href = url + document.location.href = pandora.getMediaURL(url) } } })