1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add error message

This commit is contained in:
Dmitry Lyzo 2020-10-29 23:52:52 +03:00
parent f805bef9e5
commit 6aa0d7c318
3 changed files with 16 additions and 4 deletions

View file

@ -2244,10 +2244,10 @@ class PlaybackManager {
loading.hide();
onPlaybackStartedFn();
onPlaybackStarted(player, playOptions, streamInfo);
}).catch(() => {
// TODO: show error message
}).catch((errorCode) => {
self.stop(player);
loading.hide();
showPlaybackInfoErrorMessage(self, errorCode || '');
});
});
}