diff --git a/src/components/videoModule/videoModule.vue b/src/components/videoModule/videoModule.vue index 3b890276..dee7b619 100644 --- a/src/components/videoModule/videoModule.vue +++ b/src/components/videoModule/videoModule.vue @@ -234,7 +234,7 @@ import ysyPlayAndPlayback from "./ysyPlayAndPlayback"; import iscPlugin from "./isc_plugin/isc_plugin"; import ckPlayer from "./ckPlayer"; import leCheng from "./leCheng"; -import Live from "@/utils"; +import Live from "@/plugins/screens"; import { resizeFn, setOffset, @@ -348,7 +348,7 @@ export default { this.worMenuWidth = parseInt(document.body.clientWidth) * 0.025 + 10; // this.pluginType='isc' } else { - // this.getPlayType() + this.getPlayType() } }, @@ -364,7 +364,10 @@ export default { this.$nextTick(() => { this.initVideo(); }); - } else if (this.pluginType == "lecheng") { + } else if(this.pluginType == "xiongmai"){ + this.bottomMod = false; + } + else if (this.pluginType == "lecheng") { this.bottomMod = false; } // window.addEventListener('keydown',this.fullScreen) @@ -410,7 +413,7 @@ export default { if (this.devList.length == 0) { return; } - //videoType 1萤石云,2乐橙,3ISC,4大华,5宇视,6国标,7国标 + //videoType 1萤石云,2乐橙,3ISC,4大华,5宇视,6国标,7国密 switch (Number(this.devList[0].videoType)) { case 1: this.ysyParams = this.devList[0]; @@ -455,9 +458,6 @@ export default { case 6: this.pluginType = "videojs"; break; - case 7: - this.pluginType = "xiongmai"; - break; } break; case 2: @@ -500,7 +500,6 @@ export default { this.screens = Live.init(document.getElementById("wrapper")); } let infor = JSON.parse(localStorage.getItem('configInfo')) - // console.log('------------------------------',infor) Live.login(infor.appId, infor.appSecret, infor.account, infor.password) // 配置参数加载视频 this.screens.setOptions(