do not add local to xhr when in videoplayback

pull/1619/head
Andrew Zhao 4 years ago
parent a06dfaf82a
commit ac0ed14eae

@ -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…
Cancel
Save