mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add playback error messages and fix error propogation
This commit is contained in:
parent
15d30ffaeb
commit
5a5a70dad0
4 changed files with 26 additions and 14 deletions
|
@ -190,7 +190,7 @@ export function playWithPromise(elem, onErrorFn) {
|
|||
// swallow this error because the user can still click the play button on the video element
|
||||
return Promise.resolve();
|
||||
}
|
||||
return Promise.reject();
|
||||
return Promise.reject(e);
|
||||
})
|
||||
.then(() => {
|
||||
onSuccessfulPlay(elem, onErrorFn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue