From 85b5c615b91e24eda6e1468fcb9ce24ffb786728 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sat, 27 Sep 2025 10:57:53 -0400 Subject: [PATCH] [skip ci] skip reporting drm errors --- playlet-lib/src/components/VideoPlayer/VideoPlayer.bs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs index f7921d21..4285006d 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs @@ -557,6 +557,10 @@ function GetPlayerErrorData(videoId as string, errorInfo as object) as object end function function ReportVideoError(errorData as object, url as string) as void + if errorData.body.Instr("DRM exception") <> -1 + return + end if + attachments = invalid if errorData.body.Instr("malformed data") <> -1 or errorData.body.Instr("invalid pathname") <> -1 lastGeneratedDash = ReadAsciiFile("tmp:/last_generated_dash.xml")