视频圈
This commit is contained in:
parent
17a53c596a
commit
23b83afc8f
|
@ -232,11 +232,14 @@
|
||||||
<video
|
<video
|
||||||
id="myVideo"
|
id="myVideo"
|
||||||
style="width: 100%;height: 100%;"
|
style="width: 100%;height: 100%;"
|
||||||
|
:loop="true"
|
||||||
|
:muted="false"
|
||||||
:show-fullscreen-btn='false'
|
:show-fullscreen-btn='false'
|
||||||
:enable-play-gesture='true'
|
:enable-play-gesture='true'
|
||||||
:autoplay="false"
|
:autoplay="false"
|
||||||
:show-play-btn='false'
|
:show-play-btn='false'
|
||||||
:show-center-play-btn='false'
|
:show-center-play-btn='false'
|
||||||
|
:http-cache="true"
|
||||||
@click="jieshu"
|
@click="jieshu"
|
||||||
:src="filePath"></video>
|
:src="filePath"></video>
|
||||||
<view class="videoConten">{{contentVideo}}</view>
|
<view class="videoConten">{{contentVideo}}</view>
|
||||||
|
|
|
@ -113,11 +113,14 @@
|
||||||
<video
|
<video
|
||||||
id="myVideo"
|
id="myVideo"
|
||||||
style="width: 100%;height: 100%;"
|
style="width: 100%;height: 100%;"
|
||||||
|
:loop="true"
|
||||||
|
:muted="false"
|
||||||
:show-fullscreen-btn='false'
|
:show-fullscreen-btn='false'
|
||||||
:enable-play-gesture='true'
|
:enable-play-gesture='true'
|
||||||
:autoplay="false"
|
:autoplay="false"
|
||||||
:show-play-btn='false'
|
:show-play-btn='false'
|
||||||
:show-center-play-btn='false'
|
:show-center-play-btn='false'
|
||||||
|
:http-cache="true"
|
||||||
@click="jieshu"
|
@click="jieshu"
|
||||||
:src="filePath"></video>
|
:src="filePath"></video>
|
||||||
<view class="videoConten">{{contentVideo}}</view>
|
<view class="videoConten">{{contentVideo}}</view>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
:muted="list.isplay"
|
:muted="list.isplay"
|
||||||
:controls="false"
|
:controls="false"
|
||||||
:http-cache="true"
|
:http-cache="true"
|
||||||
:autoplay="true"
|
:autoplay="false"
|
||||||
:page-gesture="false"
|
:page-gesture="false"
|
||||||
:show-fullscreen-btn="false"
|
:show-fullscreen-btn="false"
|
||||||
:show-loading="false"
|
:show-loading="false"
|
||||||
|
@ -579,11 +579,12 @@
|
||||||
if(this.dataList[this.k].state == 'continue'){
|
if(this.dataList[this.k].state == 'continue'){
|
||||||
this.isClick = true;
|
this.isClick = true;
|
||||||
this.dataList[this.k].playIng = true
|
this.dataList[this.k].playIng = true
|
||||||
uni.createVideoContext(this.dataList[this.k]._id+''+this.k,this).play();//暂停以后继续播放
|
uni.createVideoContext(this.dataList[this.k].id+''+this.k,this).play();//暂停以后继续播放
|
||||||
audo.play()
|
audo.play()
|
||||||
}
|
}
|
||||||
if(this.dataList[this.k].state == 'pause'){
|
if(this.dataList[this.k].state == 'pause'){
|
||||||
uni.createVideoContext(this.dataList[this.k]._id+''+this.k,this).pause();//暂停以后继续播放
|
uni.createVideoContext(this.dataList[this.k].id+''+this.k,this).pause();//暂停以后继续播放
|
||||||
|
audo.src = this.dataList[this.k].src;
|
||||||
audo.pause()
|
audo.pause()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue