From b6e57156db374ab1273d59aa263dd4828c36aee4 Mon Sep 17 00:00:00 2001 From: Korbs Date: Sun, 1 Dec 2024 23:09:26 -0500 Subject: [PATCH] Prevent invalid date error --- src/Controls/Seek.astro | 2 +- src/Player.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controls/Seek.astro b/src/Controls/Seek.astro index d4fd663..d1943ea 100644 --- a/src/Controls/Seek.astro +++ b/src/Controls/Seek.astro @@ -110,5 +110,5 @@ function Seek() { initializeVideo() } -Seek() +setTimeout(() => {Seek()}, 1000) // Prevent invalid date error \ No newline at end of file diff --git a/src/Player.astro b/src/Player.astro index 5fe4d7c..7b80e68 100644 --- a/src/Player.astro +++ b/src/Player.astro @@ -92,7 +92,7 @@ import './Styles/Iconoir.css' : } - +