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