We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6357fcb commit 345b544Copy full SHA for 345b544
chrome/player/players/SyncedAudioPlayer.mjs
@@ -99,6 +99,11 @@ export class SyncedAudioPlayer extends EventEmitter {
99
this.client.failedToLoad(msg || Localize.getMessage('player_error_load'));
100
});
101
102
+ if (this.client.source.mode === PlayerModes.ACCELERATED_YT) {
103
+ player.preProcessFragment = this.client.player.preProcessFragment.bind(this.client.player);
104
+ player.postProcessFragment = this.client.player.postProcessFragment.bind(this.client.player);
105
+ }
106
+
107
await player.setSource(source);
108
109
this.audioPlayers.push(player);
0 commit comments