Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2284521 commit 2e1e4afCopy full SHA for 2e1e4af
server/models/redundancy/video-redundancy.ts
@@ -709,9 +709,9 @@ export class VideoRedundancyModel extends Model {
709
}
710
711
getVideo () {
712
- if (this.VideoFile) return this.VideoFile.Video
+ if (this.VideoFile?.Video) return this.VideoFile.Video
713
714
- if (this.VideoStreamingPlaylist.Video) return this.VideoStreamingPlaylist.Video
+ if (this.VideoStreamingPlaylist?.Video) return this.VideoStreamingPlaylist.Video
715
716
return undefined
717
0 commit comments