From a44cbfbdea10c412d73eb48aa378806d626c92c1 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 3 Aug 2026 11:56:59 +0200 Subject: [PATCH] fix(videojs): always mount a tech (even with no src) --- src/view.web.tsx | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/src/view.web.tsx b/src/view.web.tsx index 9eeaf3b..d2e9f75 100644 --- a/src/view.web.tsx +++ b/src/view.web.tsx @@ -151,28 +151,26 @@ export const OmniView = ({ ref={containerRef} style={{ position: "relative", ...style }} > - {source?.src && ( - - {(source?.subtitles ?? []).map((subtitle) => ( - - ))} - - )} + + {(source?.subtitles ?? []).map((subtitle) => ( + + ))} + {castStatus !== "connected" && castStatus !== "connecting" && (