mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
do not add local to xhr when in videoplayback
This commit is contained in:
parent
a06dfaf82a
commit
ac0ed14eae
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ var shareOptions = {
|
||||||
}
|
}
|
||||||
|
|
||||||
videojs.Hls.xhr.beforeRequest = function(options) {
|
videojs.Hls.xhr.beforeRequest = function(options) {
|
||||||
if (options.uri.indexOf('local=true') === -1) {
|
if (options.uri.indexOf('videoplayback') === -1 && options.uri.indexOf('local=true') === -1) {
|
||||||
options.uri = options.uri + '?local=true';
|
options.uri = options.uri + '?local=true';
|
||||||
}
|
}
|
||||||
return options;
|
return options;
|
||||||
|
|
Loading…
Reference in a new issue