1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
This commit is contained in:
matjaz321 2020-08-19 21:32:22 +02:00
parent 05bec3e16b
commit 865e9085ef
2 changed files with 5 additions and 4 deletions

View file

@ -2260,6 +2260,10 @@ class PlaybackManager {
}, function () {
// TODO: show error message
self.stop(player);
loading.hide();
}).catch(() => {
player.destroy();
loading.hide();
});
});
}

View file

@ -143,10 +143,7 @@ function setCurrentSrc(instance, elem, options) {
events.trigger(instance, 'pause');
}
},
'onError': () => {
instance.destroy();
loading.hide();
}
'onError': () => reject(),
},
playerVars: {
controls: 0,