From ce96d0e53d42b5b2899f4caeb37fea4dd3477263 Mon Sep 17 00:00:00 2001 From: Ajay Ghanwat Date: Wed, 8 Oct 2025 13:35:13 +0530 Subject: [PATCH] New Changes with packages --- src/components/FLVPLayer.astro | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/FLVPLayer.astro b/src/components/FLVPLayer.astro index 60929ee..6c48c60 100644 --- a/src/components/FLVPLayer.astro +++ b/src/components/FLVPLayer.astro @@ -182,11 +182,7 @@ const id = `vp_${Math.random().toString(36).slice(2)}`; const fullscreenBtn = get("fsbtn"); const flvjs = window.flvjs; - // Load FLV or fallback - if ( - (flvjs && flvjs.isSupported() && videoUrl.endsWith(".flv")) || - videoUrl.includes(":8089/") - ) { + if (flvjs && flvjs.isSupported()) { const player = flvjs.createPlayer({ type: "flv", isLive: true,