diff --git a/ui/src/JSmpegPlayer.jsx b/ui/src/JSmpegPlayer.jsx index fa6f818..b576994 100644 --- a/ui/src/JSmpegPlayer.jsx +++ b/ui/src/JSmpegPlayer.jsx @@ -25,6 +25,9 @@ const JSmpegPlayer = ({ url, active }) => { return (
{ + player.player.isPlaying ? player.player.pause() : player.player.play() + }} className="probePlayer" ref={videoRef}>