- {isLoading && (
-
+ {!sourceExists ? (
+
+ Video not available
+
+ ) : (
+ <>
+ {isLoading && (
+
+ )}
+
+ {
+ setIsLoading(false);
+ onPlaying?.();
+ }}
+ setFullResolution={setVideoResolution}
+ />
+ {!isLoading && children}
+
+ >
)}
-
- {
- setIsLoading(false);
- onPlaying?.();
- }}
- setFullResolution={setVideoResolution}
- />
- {!isLoading && children}
-