视频圈

This commit is contained in:
Mr.jiang 2024-07-26 10:31:05 +08:00
parent 17a53c596a
commit 23b83afc8f
3 changed files with 10 additions and 3 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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()
}
},