From be315323cbf6b73b554e5d0b12c8b10cb1d6b6f7 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 13 Mar 2018 14:55:52 +0530 Subject: [PATCH] cross origin not allowed --- static/js/fs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/fs.js b/static/js/fs.js index 8000f784..47f4bc32 100644 --- a/static/js/fs.js +++ b/static/js/fs.js @@ -277,7 +277,7 @@ pandora.fs = (function() { //fixme: would be nice to download videos from subdomains, // currently throws a cross domain error var name = that.getVideoName(id, resolution, part, track), - url = pandora.getMediaURL('/' + pandora.getVideoURLName(id, resolution, part, track)), + url = '/' + pandora.getVideoURLName(id, resolution, part, track), blobSize = 5*1024*1024, total; Ox.Log('FS', 'start downloading', url); getSize(url, function(size) {