From 0db8d326d2a199e6f287f1585bc9500160087d20 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Thu, 27 Jul 2023 19:52:42 -0400 Subject: [PATCH] small tweak --- playlet-lib/src/components/VideoPlayer/VideoPlayer.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs index 88fc2c19..28b0d317 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs @@ -304,7 +304,7 @@ function OnVideoPlayerStateChange() as void errorInfo = m.top.errorInfo ' http for stream format, mediaerror for DASH if errorInfo.category = "http" or errorInfo.category = "mediaerror" - currentUrl = m.top.content.metadata.playletStreamUrls[m.top.content.metadata.playletStreamUrlIndex] + currentUrl = m.top.content.url metadata = m.top.content.metadata metadata.playletStreamUrlIndex++ m.top.content.metadata = metadata