From d42d783738cf7bdf403e7a050c9d2e974664cf83 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Tue, 11 Nov 2025 10:57:07 -0500 Subject: [PATCH] [skip ci] download error codes --- .../src/components/VideoPlayer/VideoPlayer.bs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs index 66f1edb2..a1c3ff97 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs @@ -13,6 +13,18 @@ import "pkg:/source/utils/ErrorUtils.bs" import "pkg:/source/utils/Logging.bs" import "pkg:/source/utils/RemoteKeys.bs" +enum DownloadErrors + Unknown = 900 + TimeoutByCurl = 950 + TimeoutBySelector = 951 + Abort = 960 + AbortByServer = 961 + AbortBySelector = 962 + AbortByParallel = 963 + ParallelFragmentError = 964 + BadMedia = 970 +end enum + function Init() SetPlayerStyle() SetupAnimation()