video的pause()用不了了吗?

发布于 7 年前作者 leizou4549 次浏览最后编辑 7 年前来自 ask

this.videoContext = wx.createVideoContext(‘myVideo’);

this.videoContext.pause()  

暂定不了也没报错 


3 回复
fangjie
fangjie1 楼6 年前

在page里面直接写没问题,但在自定义控件里面就有问题

this.videoContext.pause();

this.videoContext.stop();

this.videoContext.play();



guiyingsu
guiyingsu2 楼6 年前

麻烦提供出现问题的机型和微信版本,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

qiang48
qiang483 楼5 年前

问题解决了,是我自己写错了,打扰了,非常感谢