1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add default error text

This commit is contained in:
Dmitry Lyzo 2020-11-21 22:51:24 +03:00
parent 3124a4af9b
commit 89e2e77886
2 changed files with 2 additions and 2 deletions

View file

@ -148,7 +148,7 @@ function setCurrentSrc(instance, elem, options) {
Events.trigger(instance, 'pause');
}
},
'onError': (e) => reject(errorCodes[e.data] || '') // FIXME: default error code/text?
'onError': (e) => reject(errorCodes[e.data] || 'ErrorDefault')
},
playerVars: {
controls: 0,