mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-05 05:36:17 +00:00
fix(videojs): always mount a tech (even with no src)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user