Remove withCredentials from xhrSetup in hls.js
This commit is contained in:
@@ -393,10 +393,7 @@ function tryRemoveElement(elem) {
|
||||
return new Promise((resolve, reject) => {
|
||||
requireHlsPlayer(() => {
|
||||
const hls = new Hls({
|
||||
manifestLoadingTimeOut: 20000,
|
||||
xhrSetup(xhr) {
|
||||
xhr.withCredentials = true;
|
||||
}
|
||||
manifestLoadingTimeOut: 20000
|
||||
});
|
||||
hls.loadSource(url);
|
||||
hls.attachMedia(elem);
|
||||
|
||||
Reference in New Issue
Block a user