Fix get video from redudancy
This commit is contained in:
parent
22845214bf
commit
2e1e4af03b
|
@ -709,9 +709,9 @@ export class VideoRedundancyModel extends Model {
|
||||||
}
|
}
|
||||||
|
|
||||||
getVideo () {
|
getVideo () {
|
||||||
if (this.VideoFile) return this.VideoFile.Video
|
if (this.VideoFile?.Video) return this.VideoFile.Video
|
||||||
|
|
||||||
if (this.VideoStreamingPlaylist.Video) return this.VideoStreamingPlaylist.Video
|
if (this.VideoStreamingPlaylist?.Video) return this.VideoStreamingPlaylist.Video
|
||||||
|
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user