|
@@ -2,7 +2,7 @@
|
|
|
<div id="videoLive">
|
|
|
<el-row>
|
|
|
<el-col :span="24" class="main">
|
|
|
- <video id="videoElement" controls autoplay class="h5video"></video>
|
|
|
+ <video id="videoElement" controls autoplay class="h5video" height="480px" :poster="poster"></video>
|
|
|
<!-- <video id="videoElement" autoplay controls style="width:500px;height:300px"></video> -->
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -20,6 +20,7 @@ export default {
|
|
|
data: function() {
|
|
|
return {
|
|
|
info: {},
|
|
|
+ poster: require('@common/src/assets/hall.jpg'),
|
|
|
};
|
|
|
},
|
|
|
async created() {
|
|
@@ -78,7 +79,6 @@ export default {
|
|
|
.main {
|
|
|
.h5video {
|
|
|
width: 100%;
|
|
|
- height: 480px;
|
|
|
background: #000000;
|
|
|
}
|
|
|
}
|