fix(source): remove array syntax

This commit is contained in:
2026-07-26 20:42:47 +02:00
parent e565717016
commit dc0627afb4
11 changed files with 26 additions and 53 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ export const OmniView = ({
const containerRef = useRef<HTMLDivElement>(null);
const ref = useRef<HTMLVideoElement>(undefined!);
const src = player.source?.src[0];
const src = player.source?.src;
const isHls =
src?.mimeType?.toLowerCase().includes("mpegurl") ||
src?.uri.split(/[?#]/)[0]?.toLowerCase().endsWith(".m3u8") ||