mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix unnecessary optional chaining
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
fb1b9b15bb
commit
f05b90ce1a
1 changed files with 1 additions and 1 deletions
|
@ -1588,7 +1588,7 @@ export class HtmlVideoPlayer {
|
|||
const player = this;
|
||||
|
||||
sessionPromise.then((s) => {
|
||||
if (!s.TranscodingInfo || s.TranscodingInfo?.IsVideoDirect) {
|
||||
if (!s.TranscodingInfo || s.TranscodingInfo.IsVideoDirect) {
|
||||
// restore recorded delivery method if any
|
||||
mediaStreamTextTracks.forEach((t) => {
|
||||
t.DeliveryMethod = t.realDeliveryMethod ?? t.DeliveryMethod;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue