more css tweaks

This commit is contained in:
2023-07-24 21:43:51 +01:00
parent 1175fbf211
commit 0d9a5b3b86
2 changed files with 18 additions and 8 deletions

View File

@ -59,12 +59,12 @@ export function LiveVideoPlayer(
}, [video, streamCached, props.status]);
return (
<>
<div className="video-overlay">
<div className={status}>
<div>{status}</div>
</div>
<video ref={video} autoPlay={true} poster={props.poster} src={src} playsInline={true} controls={status === VideoStatus.Online} />
</>
</div>
);
}
@ -90,11 +90,11 @@ export function WebRTCPlayer(props: VideoPlayerProps) {
}, [video, streamCached]);
return (
<>
<div className="video-overlay">
<div className={status}>
<div>{status}</div>
</div>
<video ref={video} autoPlay={true} poster={props.poster} controls={status === VideoStatus.Online} />
</>
</div>
);
}