From cdb957a6df222e8bc2ea8ce22e164d6588ab5255 Mon Sep 17 00:00:00 2001
From: xc <double72cheng@gmail.com>
Date: Tue, 27 Apr 2021 17:31:36 +0800
Subject: [PATCH] 通过rtsp 实现 通过摄像头ID 实现 over

---
 src/main/resources/public/monitor/history.html |   35 +++++++++++++----------------------
 1 files changed, 13 insertions(+), 22 deletions(-)

diff --git a/src/main/resources/public/monitor/history.html b/src/main/resources/public/monitor/history.html
index 8a01e2c..ee25407 100755
--- a/src/main/resources/public/monitor/history.html
+++ b/src/main/resources/public/monitor/history.html
@@ -5,42 +5,33 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
     <title>Jessibuca【回放】</title>
     <meta charset="utf-8"/>
-    <link rel="stylesheet" href="../css/progressTime.css">
-    <link rel="stylesheet" href="../css/history/historyStyle.css">
+    <link rel="stylesheet" href="css/progressTime.css">
+    <link rel="stylesheet" href="css/history/historyStyle.css">
 
 
 </head>
 
 <body>
-
+<!-- jessiebuca播放器 录像 -->
 <div id="jessibucaContainerHistory"></div>
 
 
-<script src="../js/renderer.js"></script>
-<script src="../js/jquery.min.js"></script>
-<script src="../js/jquery.progressTime.js"></script>
-<script src="../js/history/historypler.js"></script>
+<script src="js/jquery.min.js"></script>
+<script src="js/ajax.js"></script>
+<script src="js/renderer.js"></script>
+<script src="js/jquery.progressTime.js"></script>
+<script src="js/history/historyComponent.js"></script>
 
 
 <script>
-    window.onkeydown = function () {
-        h5lc.fullscreen = false
-    };
-
-    let historypler =new Historypler({
+    let historyComponent =new HistoryComponent({
         elem:"jessibucaContainerHistory",
-        ffurl:"../js/jessibuca/ff.js",
+        cameraId:"ff80808178af424e0178af44e677000343616d657261",
+        rtspUrl:"rtsp://admin:12345...@192.168.1.201:554/Streaming/Channels/301",
     });
 
-    //播放
-    $(".progressTime-left-b-start").on("click", function () {
-        //TODO:historypler.playVideo();
-    });
-    //暂停 关闭流
-    $(".progressTime-left-b-start stop").on("click", function () {
-        $(this).removeClass("stop");
-        //TODO:historypler.closeVideo()
-    });
+    //关闭流
+    //historyComponent.close();
 </script>
 
 </body>

--
Gitblit v1.9.1