small tweak

This commit is contained in:
Brahim Hadriche committed 2023-07-27 19:52:42 -04:00
1 parent 57d39a6bb1
commit 0db8d326d2
1 file changed
+1 -1
@@ -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