diff --git a/src/common/playlist/playlist-manager.js b/src/common/playlist/playlist-manager.js index 71c162fac..b5d3d3d87 100644 --- a/src/common/playlist/playlist-manager.js +++ b/src/common/playlist/playlist-manager.js @@ -270,7 +270,7 @@ class PlaylistManager { } _onChangeSourceStarted(): void { - if (this._playlist.items[this._playlist._activeItemIndex].sources?.type === 'Image') { + if (this._player.isImage()) { this._player.configure({sources: {duration: this._options.imageDuration}}); } }