From 9d792bbd1fa6ef7136dcca1cc2bd907dba9e6f57 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 03 Sep 2021 16:20:43 +0800
Subject: [PATCH] 视频相关更改

---
 public/carVideo/children.html |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/public/carVideo/children.html b/public/carVideo/children.html
index 092e61b..00bb9e4 100644
--- a/public/carVideo/children.html
+++ b/public/carVideo/children.html
@@ -386,7 +386,12 @@
     });
   }
 
-  initPlugin();
+  function close() {
+    if (oWebControl != null) {
+      oWebControl.JS_HideWnd(); // 先让窗口隐藏,规避可能的插件窗口滞后于浏览器消失问题
+      oWebControl.JS_Disconnect().then(function () { }, function () { });
+    }
+  }
 
 
   // 获取公钥

--
Gitblit v1.9.3