mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -07:00
Merge pull request #5681 from dmitrylyzo/fix-loading
Fix loading hides too early
This commit is contained in:
commit
674b0b118f
@ -2295,7 +2295,7 @@ class PlaybackManager {
|
||||
return playAfterBitrateDetect(bitrate, item, playOptions, onPlaybackStartedFn, prevSource)
|
||||
.catch(onPlaybackRejection);
|
||||
})
|
||||
.finally(() => {
|
||||
.catch(() => {
|
||||
if (playOptions.fullscreen) {
|
||||
loading.hide();
|
||||
}
|
||||
@ -2354,8 +2354,6 @@ class PlaybackManager {
|
||||
return;
|
||||
}
|
||||
|
||||
loading.hide();
|
||||
|
||||
const options = Object.assign({}, playOptions);
|
||||
|
||||
options.mediaType = item.MediaType;
|
||||
|
Loading…
Reference in New Issue
Block a user