Compare commits
No commits in common. "85fce676e5e13ed3e9cfef0705c0f0237e034296" and "7e9791ef189acfb11c0e09f0f73406df06d93d30" have entirely different histories.
85fce676e5
...
7e9791ef18
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view>
|
||||
<video :src="url" class="vodio" :autoplay="true" id="myVideo" :show-fullscreen-btn="false" :show-play-btn="false" :enable-progress-gesture="false" :show-center-play-btn="false" :show-progress="false" :controls="false" :style="{'height':height}" @error="errors">
|
||||
<video :src="url" class="vodio" autoplay="true" :show-fullscreen-btn="false" :show-play-btn="false" :enable-progress-gesture="false" :show-center-play-btn="false" :show-progress="false" :controls="false" :style="{'height':height}" @error="errors">
|
||||
|
||||
</video>
|
||||
<view class="user" :style="{'top': top}">
|
||||
@ -337,8 +337,7 @@ export default {
|
||||
danmu:false,
|
||||
room:{},
|
||||
chatRoomService:{},
|
||||
danmulist:[],
|
||||
videoContext:{}
|
||||
danmulist:[]
|
||||
};
|
||||
},
|
||||
onBackPress(options) {
|
||||
@ -348,10 +347,14 @@ export default {
|
||||
return false;
|
||||
},
|
||||
onShow(){
|
||||
this.videoContext.play()
|
||||
if(this.url != '' && this.url){
|
||||
let url = this.url
|
||||
this.url = ""
|
||||
this.url = url
|
||||
}
|
||||
},
|
||||
onLoad(a) {
|
||||
this.videoContext = uni.createVideoContext('myVideo')
|
||||
|
||||
this.url = a.url;
|
||||
this.id = a.id
|
||||
console.log(this.url);
|
||||
|
Loading…
x
Reference in New Issue
Block a user