From ec39596b96421ada0bee013906671f83384f9431 Mon Sep 17 00:00:00 2001 From: Sebastjan Date: Tue, 9 Jun 2026 00:22:51 +0200 Subject: [PATCH] VideoPage: HLS.js fallback when no Bunny iframe URL --- client/src/pages/VideoPage.tsx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index 0c1aef4..75454eb 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -1,3 +1,4 @@ +import Hls from "hls.js"; import { useState, useEffect } from "react"; import { useQuery } from "@tanstack/react-query"; import { useRoute, useLocation } from "wouter"; @@ -655,6 +656,26 @@ export default function VideoPage() { onLoad={handleVideoPlay} title={currentVideo.title} /> + ) : currentVideo.videoUrl ? ( +