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

fix: fix LiveTV loading not hide on fail

This commit is contained in:
Dmitry Lyzo 2022-10-27 22:55:27 +03:00
parent eb463c0adb
commit b192795c90

View file

@ -2286,7 +2286,12 @@ class PlaybackManager {
.then((bitrate) => {
return playAfterBitrateDetect(bitrate, item, playOptions, onPlaybackStartedFn, prevSource);
})
.catch(onInterceptorRejection);
.catch(onInterceptorRejection)
.finally(() => {
if (playOptions.fullscreen) {
loading.hide();
}
});
}
function cancelPlayback() {