Fix:Handle crash scenario due to player title being null. (#995)
This commit is contained in:
@@ -370,7 +370,7 @@ export class MediaPlayerService {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const initialTitle = player.title;
|
const initialTitle = player.title;
|
||||||
this.mediaTitle.set(initialTitle.length > 0 ? this._normalizeLabel(initialTitle) : '-----');
|
this.mediaTitle.set(initialTitle?.length > 0 ? this._normalizeLabel(initialTitle) : '-----');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user