const filePath = `${wx.env.USER_DATA_PATH}/test.mp4`
const fileManager = wx.getFileSystemManager()
fileManager.writeFile({
filePath: filePath,
data: '视频二进制流',
encoding: 'binary',
success: res => {
console.log('写入成功', res)
this.setData({
vedioSrc: filePath
})
}
})
<video :src="vedioSrc"></video> 并不能播放???