- getMenuButtonBoundingClientRect 错误
- 当前 Bug 的表现 为什么getMenuButtonBoundingClientRect会收到这么多错误? [图片] if (wx.getMenuButtonBoundingClientRect) { menuButtonBoundingClientRectInfo = wx.getMenuButtonBoundingClientRect(); return menuButtonBoundingClientRectInfo; }
2019-04-24 - 基础库2.6.6更新之后,ios12.2上出现正常的视频播放时触发error事件
- 当前 Bug 的表现(可附上截图) [图片] 基础库2.6.6更新之后,ios12.2上出现正常的视频播放时触发error事件 - 预期表现 不应该触发binderror事件 - 复现路径 /index/index - 提供一个最简复现 Demo https://developers.weixin.qq.com/s/CaEaRImE7i75
2019-04-18 - wx.canIUse 是否能查看页面配置的支持情况?
wx.canIUse('page.navigationStyle.custom')查询是否支特页面级的自定义导航
2019-03-13 - 微信6.6.6安卓版本,wx.saveVideoToPhotosAlbum不能用
安卓用户更新微信版本到6.6.6之后,出现大量用户视频无法保存到相册,100%复现。6.6.5正常 相关代码: [代码]wx.saveVideoToPhotosAlbum({[代码][代码] [代码][代码]filePath: _this.videos[_this.data.activeEffect.id], //_this.videos[_this.data.activeEffect.id] == wxfile://tmp_3de397c21c1315a19523889210600bff8dd3580907e209ff.mp4[代码][代码] [代码][代码]success: e => {[代码][代码] [代码][代码]wx.showToast({[代码][代码] [代码][代码]title: [代码][代码]'保存成功'[代码][代码],[代码][代码] [代码][代码]icon: [代码][代码]'success'[代码][代码] [代码][代码]});[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: e => {[代码] [代码] //e == {"errMsg":"saveVideoToPhotosAlbum:fail invalid file type"}[代码] [代码] [代码][代码]Log.error([代码][代码]'saveVideoToPhotosAlbum1'[代码][代码], _this.videos[_this.data.activeEffect.id], e);[代码][代码] [代码][代码]wx.showModal({[代码][代码] [代码][代码]title: [代码][代码]'保存失败'[代码][代码],[代码][代码] [代码][代码]showCancel: [代码][代码]false[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码][代码]});[代码] 错误信息: saveVideoToPhotosAlbum:fail invalid file type 相关视频: https://filet.philm.cc/uploads/act/dynamic_sky/20180411/15234355563a4c9ce9/768/small/sky.mp4
2018-04-11 - 循环播放视频,android出现loading
我们的应用,用了个视频做为首页的主体,视频要循环播放,视频每次从头播放时都会出现一个loading,有没有办法解决? 视频已下载到本地才播放的,没有网络问题 [图片] 代码: [代码]onLoad: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]wx.showLoading({[代码][代码] [代码][代码]title: [代码][代码]'正在加载'[代码][代码],[代码][代码] [代码][代码]});[代码][代码] [代码][代码]let _this = [代码][代码]this[代码][代码];[代码] [代码] [代码][代码]wx.downloadFile({[代码][代码] [代码][代码]url: [代码][代码]"xxxxxx"[代码][代码],[代码][代码] [代码][代码]success: (e) => {[代码][代码] [代码][代码]let videoTmpPath = e.tempFilePath;[代码][代码] [代码][代码]_this.setData({[代码][代码] [代码][代码]videoUrl: videoTmpPath[代码][代码] [代码][代码]});[代码][代码] [代码][代码]wx.hideLoading();[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: e => {[代码][代码] [代码][代码]wx.hideLoading();[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码] [代码]},[代码][代码]<[代码][代码]video[代码] [代码]src[代码][代码]=[代码][代码]'{{videoUrl}}'[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{videoUrl}}"[代码] [代码]id[代码][代码]=[代码][代码]"video"[代码] [代码]controls[代码][代码]=[代码][代码]"{{false}}"[代码] [代码]objectFit[代码][代码]=[代码][代码]"fill"[代码] [代码]loop autoplay muted [代码][代码]class[代码][代码]=[代码][代码]'video'[代码][代码]></[代码][代码]video[代码][代码]>[代码]
2017-10-11