From d86f0c30e1726a56e670955c3b995945c1daf834 Mon Sep 17 00:00:00 2001 From: RblSb Date: Thu, 6 Feb 2025 06:41:49 +0300 Subject: Fixes pack - Fix timer seek on server pause with double timer.pause() calls - Implement multi-caching - Better uploading progress with XMLHttpRequest - Better upload/cache error reporting --- src/VideoList.hx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/VideoList.hx') diff --git a/src/VideoList.hx b/src/VideoList.hx index c5e92c8..eb3e67d 100644 --- a/src/VideoList.hx +++ b/src/VideoList.hx @@ -44,6 +44,10 @@ class VideoList { pos = i; } + public function hasItem(i:Int):Bool { + return items[i] != null; + } + public function exists(f:(item:VideoItem) -> Bool):Bool { return items.exists(f); } -- cgit v1.2.3