|
|
@@ -6,7 +6,7 @@
|
|
|
@play-pause="onPause" @play-timeupdate="onTimeupdate"></videoPlayVue> -->
|
|
|
|
|
|
<video v-if="showVideo" :src="videoUrl" :poster="videoPoster" controls class="phone-video-box"
|
|
|
- @play="onVideoPlay" @pause="onVideoPause" @ended="onVideoEnd" @error="onVideoError" id="myVideo"></video>
|
|
|
+ @play="onVideoPlay" @pause="onVideoPause" @ended="onVideoEnd" @error="onVideoError" id="myVideo" ></video>
|
|
|
|
|
|
<!-- 视频背景图 -->
|
|
|
<view v-else class="phone-video-box master-image" :style="{ backgroundImage: 'url(' + imgsArr.videoBj + ')' }">
|
|
|
@@ -293,10 +293,12 @@
|
|
|
}
|
|
|
console.log('data', data);
|
|
|
this.curPlayData = data;
|
|
|
+
|
|
|
+ //this.videoUrl = 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4'
|
|
|
+
|
|
|
kechengApi.getVideoId({
|
|
|
videoId: data.url
|
|
|
}).then(res => {
|
|
|
-
|
|
|
this.videoUrl = res.data
|
|
|
console.log('res', res);
|
|
|
// const progress = data.curProcess || 0;
|