mirror of
https://github.com/iv-org/invidious.git
synced 2026-01-18 06:08:44 -05:00
chore: filter out xtags
as explained in https://github.com/LuanRT/googlevideo/issues/43#issuecomment-3735272817
This commit is contained in:
parent
4775a14e22
commit
13f0943023
1 changed files with 2 additions and 0 deletions
|
|
@ -527,6 +527,8 @@ var SABRPlayer = (function() {
|
|||
console.log('[SABRPlayer] Building SABR formats from', streamingData.adaptive_formats.length, 'adaptive formats');
|
||||
var sabrFormats = streamingData.adaptive_formats.map(function(fmt) {
|
||||
return buildSabrFormat(fmt);
|
||||
}).filter(function(format) {
|
||||
return !format.xtags;
|
||||
});
|
||||
console.log('[SABRPlayer] Setting', sabrFormats.length, 'SABR formats on adapter');
|
||||
sabrAdapter.setServerAbrFormats(sabrFormats);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue