mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
CR fixes
This commit is contained in:
parent
05bec3e16b
commit
865e9085ef
2 changed files with 5 additions and 4 deletions
|
@ -2260,6 +2260,10 @@ class PlaybackManager {
|
|||
}, function () {
|
||||
// TODO: show error message
|
||||
self.stop(player);
|
||||
loading.hide();
|
||||
}).catch(() => {
|
||||
player.destroy();
|
||||
loading.hide();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -143,10 +143,7 @@ function setCurrentSrc(instance, elem, options) {
|
|||
events.trigger(instance, 'pause');
|
||||
}
|
||||
},
|
||||
'onError': () => {
|
||||
instance.destroy();
|
||||
loading.hide();
|
||||
}
|
||||
'onError': () => reject(),
|
||||
},
|
||||
playerVars: {
|
||||
controls: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue