2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:layout="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <title>视频预览控件</title>
    <!-- 将相关属性放到变量当中 -->
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache"/>
    <link th:href="@{${videoUrl}+'vas/UICode/themes/default/css/hik_tree.css'}" rel="stylesheet" />
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/jquery.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/jquery-ui.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/bootstrap.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/underscore.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/ui/jquery.tipsy.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/ui/jquery.bgiframe.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/language/messages_zh_cn.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/ui/jquery.sticky.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/plugins/ui/jquery.alerts.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/forms/jquery.validate.js'}"></script>
    <!--<script th:src="@{${videoUrl}+'vas/common/js/jquery-override.js'}"></script>-->
    <script src="/js/jquery-override.js"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/jquery-override-ex.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/common/js/plugins/json/jquery.json-2.4.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/ztree/jquery.ztree.core.js'}"></script>
    <script type="text/javascript" th:src="@{${videoUrl}+'vas/common/js/common.const.js'}"></script>
    <script type="text/javascript" th:src="@{${videoUrl}+'vas/common/js/common.util.js'}"></script>
    <script type="text/javascript" th:src="@{${videoUrl}+'vas/common/js/common.proto.js'}"></script>
    <script type="text/javascript" th:src="@{${videoUrl}+'vas/common/js/common.solve.js'}"></script>
    <script type="text/javascript" th:src="@{${videoUrl}+'vas/common/js/MapUtil.js'}"></script>
    <script type="text/javascript" th:src="@{${videoUrl}+'vas/common/js/sha256.js'}"></script>
    <script type="text/javascript" th:src="@{${videoUrl}+'vas/common/js/md5.js'}"></script>
    <script type="text/javascript" th:src="@{${videoUrl}+'vas/common/js/index-ext.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/common.user.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/common.upload.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/common.surround.js'}"></script>
    <script type="text/javascript" th:src="@{${videoUrl}+'vas/common/js/JsonTreeNodeUtil.js'}"></script>
    <script type="text/javascript" src="/js/OperateLogUtil.js"></script>
    <script type="text/javascript" th:src="@{${videoUrl}+'vas/common/js/common.popupExePlayer.js'}"></script>
    <script>
        var path = "/vas";
        var userId = "1870889f0ef24c7397ef1d3c9d05600b";
        var vasSelfAppCode = "100004";
        // 默认展开的组织编号串
        var controlUnitExpand = "";
        // 视图库地址
        var kmsHttpUrl = "http://10.0.4.204:8080";
        var pwdEncryptPattern = "md5";
        var noOcxMessage = "控件未安装或控件版本过低,请更新";
        if(true){
            noOcxMessage += "\n<div><a style='color=blue;' href='/download/cmsocx.exe'>点击下载控件</a></div>";
        }
        var impIp = "10.0.4.26";
        var impPort = "8087";
        var tgt = "";//"TGT-661-0HuJpZJ2mvqij56EVSonvwRXMjDjchu0hpA6SgQtJNuyL5uexZ-cas";
    </script>
    <!--[if IE 6]>
    <script type="text/javascript">
        // 解决IE6图片问题
        document.execCommand("BackgroundImageCache", false, true);
    </script>
    <![endif]-->
    <link th:href="@{${videoUrl}+'vas/UICode/baseui/themes/default/css/reset.css'}" rel="stylesheet"/>
    <link th:href="@{${videoUrl}+'vas/UICode/baseui/themes/default/css/grids.css'}" rel="stylesheet"/>
    <link th:href="@{${videoUrl}+'vas/UICode/baseui/themes/default/css/base.css'}" rel="stylesheet"/>
    <link th:href="@{${videoUrl}+'vas/UICode/themes/default/css/header.css'}" rel="stylesheet"/>
    <link th:href="@{${videoUrl}+'vas/UICode/themes/default/css/main.css'}" rel="stylesheet"/>
    <link th:href="@{${videoUrl}+'vas/UICode/themes/default/css/monitor.css'}" rel="stylesheet"/>
    <script type="text/javascript" th:inline="javascript">
        var videoUrl = [[${videoUrl}]];
        var cameraIds = [[${videoId}]];
        var cameraId = "";
        var previewType = "1";
        var params = "null";
        var wndNum = "1"; // 预览的监控点数量
        var path = '/vas';
        var dateCtrlVersion = "hik";
        var cameraIdArr = [];//下标表示窗口号,值表示cameraId,用来记录哪个窗口播放了哪个camera
        for (var i = 0; i < 25; i++) {
            cameraIdArr.push(-1);
        }
        $(document).ready(function(){
            $(window).resize(function() {
                $("#divOcx").height($(document.body).height() - 2);
            });
        });
    </script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/jquery.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/jquery-ui.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/bootstrap.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/ui/jquery.tipsy.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/ui/jquery.bgiframe.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/common/js/plugins/json/jquery.json-2.4.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/underscore.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/UICode/baseui/js/plugins/ui/jquery.alerts.js'}"></script>
    <!--<script th:src="@{${videoUrl}+'vas/common/js/jquery-override.js'}"></script>-->
    <script src="/js/jquery-override.js"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/common.const.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/common.util.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/common.proto.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/common.upload4dialog.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/common.solve.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/MapUtil.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/sha256.js'}"></script>
    <script th:src="@{${videoUrl}+'vas/common/js/index-ext.js'}"></script>
    <script src="/js/previewCtrl.js"></script>
</head>
<body>
<iframe style="display:none;" src="http://10.0.4.26:8087/cas/remoteLogin?username=jgzx&password=827ccb0eea8a706c4c34a16891f84e7b&service=http%3A%2F%2F10.0.4.26%2Fvas%2Fweb%2FmapElementAction!getElementSearchPage.action">
</iframe>
<div id="divOcx">
    <object id="RealTimePlayOcx" width="100%" height="100%" name="RealTimePlayOcx" classid="clsid:04DE0049-8359-486e-9BE7-1144BA270F6A">
    </object>
</div>
</body>
</html>