From b39760063603eeead74f1c7fd89fa1534b779e50 Mon Sep 17 00:00:00 2001 From: ZhaoGuoWei <2644572487@qq.com> Date: Sat, 21 Nov 2020 11:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dthis=E6=8C=87=E9=92=88?= =?UTF-8?q?=E6=8C=87=E5=90=91=E9=97=AE=E9=A2=98=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E5=9C=A8h5=E4=B8=8B=E6=97=A0=E6=B3=95=E6=9A=82=E5=81=9C?= =?UTF-8?q?=EF=BC=8C=E9=87=8D=E6=96=B0=E6=92=AD=E6=94=BE=EF=BC=8C=E5=BF=AB?= =?UTF-8?q?=E8=BF=9B=E7=AD=89=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-components/src/components/video/video.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/taro-components/src/components/video/video.tsx b/packages/taro-components/src/components/video/video.tsx index a89423011261..bfd1beae0a5d 100644 --- a/packages/taro-components/src/components/video/video.tsx +++ b/packages/taro-components/src/components/video/video.tsx @@ -556,9 +556,9 @@ export class Video implements ComponentInterface { currentTime={this.currentTime} duration={this.duration || this._duration || undefined} isPlaying={this.isPlaying} - pauseFunc={this.pause} - playFunc={this.play} - seekFunc={this.seek} + pauseFunc={()=>this.pause()} + playFunc={()=>this.play()} + seekFunc={(position)=>this.seek(position)} showPlayBtn={this.showPlayBtn} showProgress={this.showProgress} >