mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix video onError
This commit is contained in:
parent
4166f5fb64
commit
e6a4712928
1 changed files with 2 additions and 1 deletions
|
@ -1192,7 +1192,8 @@
|
|||
function onError() {
|
||||
var errorMsg = Globalize.translate('MessageErrorPlayingVideo');
|
||||
|
||||
if (item.Type == "TvChannel") {
|
||||
var item = self.currentItem;
|
||||
if (item && item.Type == "TvChannel") {
|
||||
errorMsg += '<p>';
|
||||
errorMsg += Globalize.translate('MessageEnsureOpenTuner');
|
||||
errorMsg += '</p>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue