diff --git a/public/VideoWeb/Build/APP.data.unityweb b/public/VideoWeb/Build/APP.data.unityweb old mode 100755 new mode 100644 index 58d4967..65a13bc Binary files a/public/VideoWeb/Build/APP.data.unityweb and b/public/VideoWeb/Build/APP.data.unityweb differ diff --git a/public/VideoWeb/Build/APP.framework.js.unityweb b/public/VideoWeb/Build/APP.framework.js.unityweb old mode 100755 new mode 100644 index 6557966..e1c2c7c Binary files a/public/VideoWeb/Build/APP.framework.js.unityweb and b/public/VideoWeb/Build/APP.framework.js.unityweb differ diff --git a/public/VideoWeb/Build/APP.loader.js b/public/VideoWeb/Build/APP.loader.js old mode 100755 new mode 100644 diff --git a/public/VideoWeb/Build/APP.wasm.unityweb b/public/VideoWeb/Build/APP.wasm.unityweb old mode 100755 new mode 100644 index 8b3672b..dac6faf Binary files a/public/VideoWeb/Build/APP.wasm.unityweb and b/public/VideoWeb/Build/APP.wasm.unityweb differ diff --git a/public/VideoWeb/index.html b/public/VideoWeb/index.html index 1d1cb7d..f477df8 100644 --- a/public/VideoWeb/index.html +++ b/public/VideoWeb/index.html @@ -238,6 +238,12 @@ unity.SendMessage("GameManager",'ExitEdit',data); } } + //检测器目标数量 + function getTargetNumber(string){ + if(unity!=null){ + unity.SendMessage('GameManager', 'UnityUpdateTargetNumber', string); + } + } //编辑组件名称传名称 function editComponent(data){ // type,id diff --git a/public/flv/index.html b/public/flv/index.html index a67cc86..bc123c4 100644 --- a/public/flv/index.html +++ b/public/flv/index.html @@ -37,6 +37,9 @@ video::-webkit-media-controls-volume-slider { display: none; } + video::-webkit-media-controls-overflow-button { + display: none; + } @@ -57,6 +60,11 @@ flvPlayer.attachMediaElement(videoElement); flvPlayer.load(); flvPlayer.play(); + // 监听 video 标签的事件,防止用户手动暂停 + videoElement.addEventListener('pause', function(e) { + e.preventDefault(); + videoElement.play(); // 重新播放视频 + }); } function getParam(name) { diff --git a/src/components/chart/lineChart.vue b/src/components/chart/lineChart.vue index 709a894..6a86f59 100644 --- a/src/components/chart/lineChart.vue +++ b/src/components/chart/lineChart.vue @@ -1,11 +1,20 @@