- wx.uploadFile能否支持移动解析(HttpDNS)?
wx.uploadFile能否跟wx.request一样,也支持enableHttpDNS选项?预期这样能够减少上传时出现ERR_NAME_NOT_RESOLVED错误的出现概率,恳请官方考虑一下。
05-13 - wx.compressVideo在IOS压缩不起作用2023-03-10
- ios wx.compressVideo压缩前后大小不变问题
安卓手机使用wx.compressVideo压缩没有问题就是慢了点。。iOS使用wx.compressVideo压缩视频的大小基本没有变化 wx.compressVideo({ bitrate: 720, fps: 60, quality: 'medium', resolution: 1, src: videoList[0].tempFilePath, success(comRes) { console.log("comRes=-==", comRes) if (comRes.size / 1024 > 45) { that.setUpload(2) } else { console.log("压缩完成", new Date()) videoList[0] = comRes; that.uploading(imgList, videoList, data) } }, fail(comErr) { that.setUpload(2) console.log("comErr=-==", comErr) } })
2020-12-11 - wx.createWebAudioContext() 安卓客户端报错不支持
https://developers.weixin.qq.com/miniprogram/dev/framework/release/ andriod创建时报错 wx.createWebAudioContext() SystemError (appServiceSDKScriptError) mt is not a constructor TypeError: mt is not a constructor at Object.createWebAudioContext (WASubContext.js:2:1779768) at Object.t.<computed> (WASubContext.js:2:790041) at Object.<anonymous> (WASubContext.js:2:446824) at Proxy.<anonymous> (WASubContext.js:2:1795190) at < at wx.createWebAudioContext> at Proxy.<anonymous> (WASubContext.js:2:109144) at createWebAudioContext (pages/warehouse/details.js:49:707) at initCanvas (pages/warehouse/details.js:49:513) at play (pages/warehouse/details.js:29:6705) at apply (common/vendor.js:5:16476)
2021-08-06