mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Backport pull request #5681 from jellyfin-web/release-10.9.z
Fix loading hides too early
Original-merge: 674b0b118f
Merged-by: thornbill <thornbill@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
00e02888d2
commit
85b0697a19
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