diff --git a/src/components/playback/playbackmanager.js b/src/components/playback/playbackmanager.js index 7b2d96d078..eb9d40a83b 100644 --- a/src/components/playback/playbackmanager.js +++ b/src/components/playback/playbackmanager.js @@ -1734,6 +1734,7 @@ class PlaybackManager { streamInfo.resetSubtitleOffset = false; if (!streamInfo.url) { + cancelPlayback(); showPlaybackInfoErrorMessage(self, `PlaybackError.${MediaError.NO_MEDIA_ERROR}`); return; } @@ -1783,7 +1784,7 @@ class PlaybackManager { onPlaybackError.call(player, e, { type: getMediaError(e), - streamInfo: streamInfo + streamInfo }); }); }