do not add local to xhr when in videoplayback

このコミットが含まれているのは:
Andrew Zhao 2020-12-29 17:58:24 -05:00
コミット ac0ed14eae
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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;