cross origin not allowed

This commit is contained in:
j 2018-03-13 14:55:52 +05:30
parent e081642920
commit be315323cb

View File

@ -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) {