mirror of
				https://gitea.invidious.io/iv-org/invidious
				synced 2025-06-05 23:29:12 +02:00 
			
		
		
		
	do not add local to xhr when in videoplayback
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user