mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:35:38 -04:00
Merge pull request #1619 from tenpura-shrimp/ignorevideoplayback
do not add local to xhr when in videoplayback
This commit is contained in:
commit
c7e65ce795
@ -42,7 +42,7 @@ var shareOptions = {
|
||||
}
|
||||
|
||||
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';
|
||||
}
|
||||
return options;
|
||||
|
Loading…
Reference in New Issue
Block a user