-
-
-
-
-
-
-
- {
- setPlaybackStart(currentTime);
- setPlaybackCamera(cam);
- }}
- >
- {allCameras.map((cam) => (
-
- {cam.replaceAll("_", " ")}
-
- ))}
-
-
-
-
-
-
- {
- controllerRef.current = controller;
- }}
- onTimestampUpdate={(timestamp) => {
- setPlayerTime(timestamp);
- setCurrentTime(timestamp);
- }}
- onClipEnded={onClipEnded}
- isScrubbing={scrubbing}
- />
-
-
-
- {severity != "significant_motion" ? (
- setScrubbing(scrubbing)}
- />
- ) : (
- setScrubbing(scrubbing)}
- />
- )}
-
-
- );
-}