mirror of
https://github.com/fritz-smh/yi-hack.git
synced 2026-08-11 16:33:00 +00:00
Add hardware detection in logs, display versions informations in web interface also
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
</pre>
|
||||
<script type="text/javascript">
|
||||
var ip = location.host;
|
||||
document.getElementById("ip").textContent=ip;
|
||||
document.getElementById("ch0_0").href="rtsp://"+ip+":554/ch0_0.h264";
|
||||
document.getElementById("ch0_1").href="rtsp://"+ip+":554/ch0_1.h264";
|
||||
document.getElementById("ch0_3").href="rtsp://"+ip+":554/ch0_3.h264";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -21,12 +21,5 @@
|
||||
<ul>
|
||||
<li><a href="/record/">Click here to access the record files.</a></li>
|
||||
</ul>
|
||||
<script type="text/javascript">
|
||||
var ip = location.host;
|
||||
document.getElementById("ip").textContent=ip;
|
||||
document.getElementById("ch0_0").href="rtsp://"+ip+":554/ch0_0.h264";
|
||||
document.getElementById("ch0_1").href="rtsp://"+ip+":554/ch0_1.h264";
|
||||
document.getElementById("ch0_3").href="rtsp://"+ip+":554/ch0_3.h264";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<h2>Software and hardware informations</h2>
|
||||
<pre>
|
||||
Reference in New Issue
Block a user