|
@@ -31,14 +31,20 @@
|
|
|
@resizestop="(size) => resizeSignal(size,itemV,bigScreenObj,curOpeBigscreenId)"
|
|
|
>
|
|
|
<div ref="signal" :id="itemV.ID" style="width:100%;height:100%;overflow: hidden">
|
|
|
- <VideoPlayer
|
|
|
+ <ckplayer
|
|
|
+
|
|
|
+ />
|
|
|
+ <div class="signalName">{{itemV.deviceName}}</div>
|
|
|
+ <div class="closeBtn" @click.stop="closeSignal(itemV)">×</div>
|
|
|
+
|
|
|
+ <!--<VideoPlayer
|
|
|
ref="videoPlayer"
|
|
|
:options="videoPlayObj[itemV.sourceId]"
|
|
|
:playsinline="true"
|
|
|
:style="scaleFun(itemV)"
|
|
|
/>
|
|
|
<div class="signalName">{{itemV.deviceName}}</div>
|
|
|
- <div class="closeBtn" @click.stop="closeSignal(itemV)">×</div>
|
|
|
+ <div class="closeBtn" @click.stop="closeSignal(itemV)">×</div>-->
|
|
|
</div>
|
|
|
</VueDragResize>
|
|
|
|
|
@@ -58,7 +64,8 @@
|
|
|
import '../assets/less/splitscreen.less'
|
|
|
import {elePosition, getElementLeft, getElementTop, getStaticFile, guId} from "../../utils/tools"
|
|
|
import {reqPreviewSourceList, reqRefreshView} from "../api"
|
|
|
- import VideoPlayer from "./player.vue"
|
|
|
+ // import VideoPlayer from "./player.vue"
|
|
|
+ import ckplayer from "./ckplayer"
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -90,7 +97,8 @@
|
|
|
components: {
|
|
|
draggable,
|
|
|
VueDragResize,
|
|
|
- VideoPlayer
|
|
|
+ // VideoPlayer,
|
|
|
+ ckplayer
|
|
|
},
|
|
|
|
|
|
created() {
|
|
@@ -187,7 +195,7 @@
|
|
|
|
|
|
// 大屏初始化
|
|
|
async initBigScreen() {
|
|
|
- VideoPlayer.methods.dispose()
|
|
|
+ // VideoPlayer.methods.dispose()
|
|
|
// 先获取上次的视频对象信息
|
|
|
let bigscreenObj = this.$store.state.bigScreenObj
|
|
|
// 加载大屏json文件
|