Fix updated sources not returned inside map func

This fix the issue reported in https://github.com/iv-org/invidious/issues/2055#issuecomment-1192894698
このコミットが含まれているのは:
Émilien Devos 2022-07-25 12:38:17 +00:00 committed by GitHub
コミット 210c2a8855
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加0行の削除

ファイルの表示

@ -68,6 +68,7 @@ player.on('error', function () {
// add local=true to all current sources
player.src(player.currentSources().map(function (source) {
source.src += '&local=true';
return source;
}));
} else if (reloadMakesSense) {
setTimeout(function () {