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:
parent
f805bef9e5
commit
6aa0d7c318
3 changed files with 16 additions and 4 deletions
|
@ -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 || '');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue