diff --git a/src/components/VideoElement.js b/src/components/VideoElement.js
index 65c024f2..b6875cd8 100644
--- a/src/components/VideoElement.js
+++ b/src/components/VideoElement.js
@@ -18,7 +18,8 @@ export function VideoElement({ streamUrl, loading, setProgress, videoRef, startT
}
React.useEffect(() => {
- if (!streamUrl.includes('.mp4')) {
+ if (!streamUrl.includes('.mp4') && !streamUrl.includes('redirector.php')) {
+ console.log(streamUrl)
setError(false)
if (!videoRef || !videoRef.current || !streamUrl || streamUrl.length === 0 || loading) return;
@@ -46,7 +47,7 @@ export function VideoElement({ streamUrl, loading, setProgress, videoRef, startT
if (!streamUrl || streamUrl.length === 0)
return No video selected
- if (!streamUrl.includes('.mp4')) {
+ if (!streamUrl.includes('.mp4') && !streamUrl.includes('redirector.php')) {
return (