微信小程序video在组件中的使用---暂停视频

首先在wxml文件中设置video的id <video id='myVideo' src='{{video}}' controls='true' ></video> 然后在js文件中通过 wx.createVideoContext 获取VideoContext 实例 let videoCtx = n
posted @ 2024-04-20 10:20  与f  阅读(102)  评论(0编辑  收藏  举报