|
|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div id="videos">
|
|
|
|
|
<div id="videos" style="overflow-y:scroll">
|
|
|
|
|
|
|
|
|
|
<a-button type="primary" @click="full" v-if="!isFullscreen"> 全屏<a-icon type="right" /> </a-button>
|
|
|
|
|
<a-button type="primary" @click="full" v-if="isFullscreen"><a-icon type="left" /> 退出全屏 </a-button>
|
|
|
|
|
<a-row v-for='rowIndex in row' :key='rowIndex'>
|
|
|
|
|
<a-col v-for='colIndex in column' :key='colIndex' :span="24/column" :style="{height: videoHeight}" >
|
|
|
|
|
<a-col v-for='colIndex in column' :key='colIndex' :span="24/column" >
|
|
|
|
|
<video class="camera" :id="rowIndex+'-'+colIndex" autoplay muted :style="{'height': '100%',width:'100%','object-fit':'fill'}" ></video>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
|