1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update qsv encoding

This commit is contained in:
Luke Pulverenti 2015-11-22 15:46:02 -05:00
parent 62b528a41c
commit e92784271b
5 changed files with 30 additions and 26 deletions

View file

@ -3123,13 +3123,14 @@
// success: successFn,
// error: this._loadError(absUrl, triggerData, settings, deferred)
//});
fetch(fileUrl, {
mode: 'no-cors'
var xhr = new XMLHttpRequest();
xhr.open('GET', fileUrl, true);
}).then(function (response) {
xhr.onload = function(e) {
successFn(this.response);
};
return response.text();
}).then(successFn);
xhr.send();
return deferred.promise();
},