58 lines
2.0 KiB
Plaintext
58 lines
2.0 KiB
Plaintext
<%@ page language="java" pageEncoding="UTF-8"%>
|
|
<!doctype html>
|
|
<head>
|
|
<title></title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
|
|
<meta http-equiv="Expires" content="0" />
|
|
<%String contextPath = request.getContextPath();%>
|
|
<link rel="stylesheet" href="<%=request.getContextPath()%>/plugins/camera/camera.css" rel='stylesheet' />
|
|
<style type="text/css">
|
|
.ptz .btn2 {
|
|
margin: 2px;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px;
|
|
padding: 2px 0;
|
|
height: auto;
|
|
}
|
|
.ptz .btn2:hover{
|
|
background: #4d90fe;
|
|
color: #fff;
|
|
}
|
|
.tt{
|
|
width: 50%;
|
|
}
|
|
</style>
|
|
</head>
|
|
<script type="text/javascript" src="<%=contextPath%>/node_modules/jquery/dist/jquery.min.js" charset="utf-8"></script>
|
|
<!-- camera -->
|
|
<%-- <script src="<%=request.getContextPath()%>/node_modules/jquery/dist/jquery.min.js"></script> --%>
|
|
<script src="<%=request.getContextPath()%>/plugins/camera/webVideoCtrl.js"></script>
|
|
<script src="<%=request.getContextPath()%>/plugins/camera/camera.js"></script>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
changeWndNum(1);
|
|
clickLogin();
|
|
setTimeout("clickStartRealPlay()",1000)
|
|
//clickStartRealPlay();
|
|
});
|
|
var stopRealPlay= function(){
|
|
clickStopRealPlay();
|
|
//setTimeout("",1000)
|
|
}
|
|
</script>
|
|
<body onUnLoad="stopRealPlay();clickLogout();" class="vedio">
|
|
<div id="divPlugin" class="plugin"></div>
|
|
<input id="loginip" type="hidden" value="${url}" />
|
|
<input id="port" type="hidden" value="${port}" />
|
|
<input id="username" type="hidden" value="${camera.username}" />
|
|
<input id="password" type="hidden" value="${camera.password}" />
|
|
<input id="deviceport" type="hidden" value="8000" />
|
|
<input id="ip" type="hidden" value="${url}" />
|
|
<input id="channels" type="hidden" value="${camera.channel}" />
|
|
<input id="streamtype" type="hidden" value="${streamtype}" />
|
|
</body>
|
|
</html>
|
|
|