mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
fix video onError
This commit is contained in:
parent
4166f5fb64
commit
e6a4712928
@ -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…
Reference in New Issue
Block a user