diff --git a/src/player.ts b/src/player.ts index ba760c77..ace15de6 100644 --- a/src/player.ts +++ b/src/player.ts @@ -2469,6 +2469,9 @@ export default class Player extends FakeEventTarget { * @returns {void} */ public _updateTracks(tracks: Array): void { + if(!tracks) { + return; + } Player._logger.debug('Tracks changed', tracks); if (this.config.playback.updateAudioDescriptionLabels) {