Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

change date for play vid

roryclear503505b8d2cc
diff --git a/mainview.html b/mainview.html
index 1215362..bd23d79 100644
--- a/mainview.html
+++ b/mainview.html
@@ -3315,6 +3315,11 @@
}
function playVideoAtTime(camName, timestamp, folder) {
+ if(folder != document.getElementById('streamDateSelect').value){
+ document.getElementById('streamDateSelect').value = folder;
+ currentStreamDate = folder;
+ restartAllStreams();
+ }
const videoId = `video-${camName}`;
const video = document.getElementById(videoId);
if (video) {