|
@@ -4,8 +4,6 @@
|
|
|
<!-- 监控区域 -->
|
|
<!-- 监控区域 -->
|
|
|
<view class="monitor-area">
|
|
<view class="monitor-area">
|
|
|
<view class="video-js" ref="video" style="width: 100%;height:510rpx;"></view>
|
|
<view class="video-js" ref="video" style="width: 100%;height:510rpx;"></view>
|
|
|
- <!-- <image src="@/static/demo/demo1.png" mode="widthFix"></image> -->
|
|
|
|
|
- <!-- <video id="hlsId" autoplay controls style="width: 100%;height:800rpx"></video> -->
|
|
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 监控工具 -->
|
|
<!-- 监控工具 -->
|
|
|
<view class="monitor-tools">
|
|
<view class="monitor-tools">
|
|
@@ -62,8 +60,6 @@
|
|
|
video.setAttribute('x5-video-player-type', 'h5') //安卓 声明启用同层H5播放器 可以在video上面加东西
|
|
video.setAttribute('x5-video-player-type', 'h5') //安卓 声明启用同层H5播放器 可以在video上面加东西
|
|
|
let source = document.createElement('source');
|
|
let source = document.createElement('source');
|
|
|
source.src =this.cameraAddress;
|
|
source.src =this.cameraAddress;
|
|
|
- // 'http://yun-live.oss-cn-shanghai.aliyuncs.com/record/yunlive/record/yunlive/meeting_1070/2020-11-25-09-27-59_2020-11-25-09-35-52.m3u8';
|
|
|
|
|
- // source.type = 'application/x-mpegURL';
|
|
|
|
|
video.appendChild(source);
|
|
video.appendChild(source);
|
|
|
this.$refs.video.$el.appendChild(video);
|
|
this.$refs.video.$el.appendChild(video);
|
|
|
let that = this;
|
|
let that = this;
|