fix(videojs): always mount a tech (even with no src)

This commit is contained in:
2026-08-03 13:53:48 +02:00
parent 3ce520ee5f
commit a44cbfbdea
-2
View File
@@ -151,7 +151,6 @@ export const OmniView = ({
ref={containerRef}
style={{ position: "relative", ...style }}
>
{source?.src && (
<Tech
ref={ref}
src={source?.src.uri}
@@ -172,7 +171,6 @@ export const OmniView = ({
/>
))}
</Tech>
)}
{castStatus !== "connected" && castStatus !== "connecting" && (
<SubtitleOverlay
video={ref}