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:
parent
3124a4af9b
commit
89e2e77886
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue