From 68cbe3c4b1ccbaabe09308e67f37fc464bc8577b Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 13 Oct 2024 20:45:25 -0600 Subject: [PATCH] Don't require rate to be defined --- src/Video.web.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Video.web.tsx b/src/Video.web.tsx index 0d96ae2b..1ef21df4 100644 --- a/src/Video.web.tsx +++ b/src/Video.web.tsx @@ -228,7 +228,7 @@ const Video = forwardRef( }, [rate]); useEffect(() => { - if (!nativeRef.current || rate === undefined) { + if (!nativeRef.current) { console.log("Not starting shaka yet bc undefined") return; }