Fix recording text to match hls player logic

This commit is contained in:
Nicolas Mowen 2024-07-21 13:08:20 -06:00
parent ef3fe91f31
commit 73c38410a3

View File

@ -238,7 +238,7 @@ export default function DynamicVideoPlayer({
{!isScrubbing && (isLoading || isBuffering) && !noRecording && ( {!isScrubbing && (isLoading || isBuffering) && !noRecording && (
<ActivityIndicator className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2" /> <ActivityIndicator className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2" />
)} )}
{!isScrubbing && noRecording && ( {!isScrubbing && !isLoading && noRecording && (
<div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"> <div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2">
No recordings found for this time No recordings found for this time
</div> </div>