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,