|
@@ -34,11 +34,11 @@
|
|
|
<div class="signal_item_bg">
|
|
|
<div class="signal_item_bg_body">
|
|
|
<div v-show="item.preview" class="signal_item_bg_body_space">
|
|
|
-<!-- <VideoPlayer-->
|
|
|
-<!-- :options="videoPlayObj2[item.sourceId]"-->
|
|
|
-<!-- :playsinline="true"-->
|
|
|
-<!-- ref="myPlayer"-->
|
|
|
-<!-- />-->
|
|
|
+ <VideoPlayer
|
|
|
+ :options="videoPlayObj2[item.sourceId]"
|
|
|
+ :playsinline="true"
|
|
|
+ :ref="item.ID"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div class="signal_item_bg_body_font">{{item.deviceName}}</div>
|
|
|
</div>
|
|
@@ -93,6 +93,10 @@
|
|
|
this.videoPlayObj2 = videoPlayObj2
|
|
|
},
|
|
|
|
|
|
+ mounted() {
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
updated() {
|
|
|
const flag = this.signalBorder[0] ? (this.signalBorder[0].Orientation === 0 ? 'column' : 'row') : ''
|
|
|
if (flag === 'column') {
|