mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5681 from dmitrylyzo/fix-loading
Fix loading hides too early
This commit is contained in:
commit
674b0b118f
1 changed files with 1 additions and 3 deletions
|
@ -2295,7 +2295,7 @@ class PlaybackManager {
|
||||||
return playAfterBitrateDetect(bitrate, item, playOptions, onPlaybackStartedFn, prevSource)
|
return playAfterBitrateDetect(bitrate, item, playOptions, onPlaybackStartedFn, prevSource)
|
||||||
.catch(onPlaybackRejection);
|
.catch(onPlaybackRejection);
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.catch(() => {
|
||||||
if (playOptions.fullscreen) {
|
if (playOptions.fullscreen) {
|
||||||
loading.hide();
|
loading.hide();
|
||||||
}
|
}
|
||||||
|
@ -2354,8 +2354,6 @@ class PlaybackManager {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
loading.hide();
|
|
||||||
|
|
||||||
const options = Object.assign({}, playOptions);
|
const options = Object.assign({}, playOptions);
|
||||||
|
|
||||||
options.mediaType = item.MediaType;
|
options.mediaType = item.MediaType;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue