diff --git a/components/video/VideoPlayerView.bs b/components/video/VideoPlayerView.bs index 90c48b171..4800230d1 100644 --- a/components/video/VideoPlayerView.bs +++ b/components/video/VideoPlayerView.bs @@ -662,7 +662,7 @@ sub ReportPlayback(state = "update" as string) "PositionTicks": int(m.top.position) * 10000000&, 'Ensure a LongInteger is used "IsPaused": (m.top.state = "paused") } - if m.top.content.live + if isValid(m.top.content) and isValid(m.top.content.live) and m.top.content.live params.append({ "MediaSourceId": m.top.transcodeParams.MediaSourceId, "LiveStreamId": m.top.transcodeParams.LiveStreamId