From 7b4c8991dca9cf2a809a95e239d144697d3afb56 Mon Sep 17 00:00:00 2001
From: 15832144755 <67030627+15832144755@users.noreply.github.com>
Date: 星期四, 06 一月 2022 12:15:34 +0800
Subject: [PATCH] 2022.1.6
---
src/main/webapp/hxzk/mapshow/mapShow.jsp | 27 ++++++++++++++++++++-------
1 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/src/main/webapp/hxzk/mapshow/mapShow.jsp b/src/main/webapp/hxzk/mapshow/mapShow.jsp
index 1468108..0f9fccb 100644
--- a/src/main/webapp/hxzk/mapshow/mapShow.jsp
+++ b/src/main/webapp/hxzk/mapshow/mapShow.jsp
@@ -144,7 +144,7 @@
</style>
</head>
- <body class="alt-menu sidebar-noneoverflow" style="position: relative;">
+ <body class="alt-menu sidebar-noneoverflow" style="position: relative;text-align:center;">
<!-- BEGIN LOADER -->
<!-- <div id="load_screen">
@@ -244,14 +244,15 @@
<iframe src="http://192.168.1.100:10000/play.html?serial=34020000001320000003&code=34020000001310000002&aspect=fullscreen" width="640" height="360" allowfullscreen allow="autoplay; fullscreen"></iframe>
</div>
</div> -->
- <!-- <div class="content-absolute">
+ <div class="content-absolute"
+ style="position: absolute;z-index: 99999;left: 31%;bottom: 10px;margin:0 auto;">
<div class="content2">
- <div id="vxg_media_player1" class="vxgplayer" width="700" height="400"
- url="rtsp://admin:hxzk20151102@192.168.1.64:554/Streaming/Channels/101"
- autostart controls avsync nmf-src="/hxzkoa/hxzk/pnacl/Release/media_player.nmf"
+ <div id="vxg_media_player1" class="vxgplayer" style="display:none;"
+ url="rtsp://admin:hxzk20151102@192.168.1.64:554/Streaming/Channels/101" autostart
+ controls avsync nmf-src="/hxzkoa/hxzk/pnacl/Release/media_player.nmf"
nmf-path="media_player.nmf"></div>
</div>
- </div> -->
+ </div>
<!-- END CONTENT PART -->
<!-- END MAIN CONTAINER -->
@@ -1065,8 +1066,8 @@
rr.allowFullscreen = "true";
var object = tanchuang.appendChild(rr);
shipinka = false; */
-
document.getElementById("vxg_media_player1").style.display = "";
+ $('.content-absolute').css('display', 'inline');
window.vxgplayer('vxg_media_player1').stop();
window.vxgplayer('vxg_media_player1').src("rtsp://admin:hxzk20151102@192.168.1.64:554/Streaming/Channels/101");
window.vxgplayer('vxg_media_player1').play();
@@ -1716,6 +1717,18 @@
shipinka = true;
document.getElementById("tanchuang").innerHTML = "";
}
+
+ $(document).bind('click', function (e) {
+ var e = e || window.event; //娴忚鍣ㄥ吋瀹规��
+ var elem = e.target || e.srcElement;
+ while (elem) { //寰幆鍒ゆ柇鑷宠窡鑺傜偣锛岄槻姝㈢偣鍑荤殑鏄痙iv瀛愬厓绱�
+ if (elem.id && elem.id == 'test') {
+ return;
+ }
+ elem = elem.parentNode;
+ }
+ $('.content-absolute').css('display', 'none'); //鐐瑰嚮鐨勪笉鏄痙iv鎴栧叾瀛愬厓绱�
+ });
</script>
<!-- 缁撴潫璋冪敤瀹ゅ唴瀹氫綅鍦板浘鍔熻兘 -->
<!-- > END PAGE FUNCTION SCRIPTS -->
--
Gitblit v1.10.0