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:
parent
62b528a41c
commit
e92784271b
5 changed files with 30 additions and 26 deletions
|
@ -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();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue