wx.createSelectorQuery().in(this).select('#mycanvas')中间加上in(this)问题就解决了
插件中不支持canvas接口吗?https://developers.weixin.qq.com/miniprogram/dev/component/canvas.html 小程序插件中 wx.createSelectorQuery().select('#mycanvas').node(res => { console.log("node ",res) const canvas = res.node const context = canvas.getContext('2d') }).exec() wx.createSelectorQuery().select('#mycanvas')能获取到,node()中res为null
03-10这个问题有解决办法吗?
onAudioInterruptionBegin在android上触发时机不对?将小程序退到后台会触发 onAudioInterruptionBegin 恢复到前台后 会触发 onAudioInterruptionEnd
2024-12-31插件文档中明确地写着,插件引用小程序不能获取插件的源码,可是现在接口文件index.js的源码,引用插件直接可以查看,该怎么处理呢?
插件接口文件index.js中不在exports中的代码也被引入插件的小程序获取到了,这样安全吗?{ "publicComponents": { "hello-component": "components/hello-component" }, "pages": { "hello-page": "pages/hello-page" }, "main": "index.js" } 插件接口文件index.js中不在exports中的代码也被引入插件的小程序获取到了,这样安全吗?所有代码实现都被暴漏了,不是应该只导出函数名吗?
2024-04-13请问下你们这个问题解决了吗?
华为mate20X,NOVA 8PRO,小米11播放音频提示(该内容因网络或其他原因暂时无法播放)[图片]该二维码目前点击进去播放音频提示(该内容因网络或其他原因暂时无法播放) [图片]点击按钮触发的事件是 new AudioPlayer(AudioPlayer.TYPES.AUDIO_PLAYER_TYPE_INNER).play();触发事件提示这个 if(this.subPlayer == null){ this.subPlayer = new AudioPlayer(AudioPlayer.TYPES.AUDIO_PLAYER_TYPE_INNER) } let subMusicMusic = this.data.detailData.backgroundMusic; if (subMusicMusic && subMusicMusic.length > 0) { this.subPlayer.src = subMusicMusic; this.subPlayer.volume = 0.05 this.subPlayer.obeyMuteSwitch = false this.subPlayer.autoplay = false this.subPlayer.loop = true this.subPlayer.play() }
2024-02-27有找出问题原因吗?这个出问题的太多了,官方能给出一些建议先过渡一下吗?
backgroundAudioManager部分机型后台播放器提示该内容因网络或其他原因暂时无法播放运行开发版本就不能播放,提示该内容因网络或其他原因暂时无法播放,生产版本部分机型(已知:小米11 pro 微信版本8.0.45)提示该内容因网络或其他原因暂时无法播放。 播放部分机型提示内容因网络或其他原因暂时无法播放。代码片段https://developers.weixin.qq.com/s/IHTEqemj7BO4 我们的解决步骤#仅供参考 1、问题是因官方版本库更新呈现出来的(BackgroundAudioManager显示图标由小绿标变更为四方白标)。 2、音频是放在oss服务器上,偶然发现上传音频方式改变可以影响到是否会出现问题,登录oss控制台直接上传的音频可以播放。 3、上传接口升级(具体怎么升级,需要后端同事测试),所有音频重新上传,问题得到解决。 我们的问题解决了,并不一定适合你,仅供参考。
2024-02-02https://developers.weixin.qq.com/community/develop/doc/000206989b04d0a8f1e0c1e6061c00 我这也有同样的问题
小程序提示内容因网络或其他原因无法播放?文本+录音制作的内容作品,最近小程序打开播放时 多人遇到 提示 如图?请问这个是什么问题,主要出现在安卓 机型上 求大佬看看这是不是小程序的问题? [图片]
2024-01-15我这也出现同样问题,真机调试时没问题,结束调试,运行开发版本就不能播放,提示该内容因网络或其他原因暂时无法播放,生产版本部分机型(已知:小米11 pro 微信版本8.0.45)提示该内容因网络或其他原因暂时无法播放。 播放部分机型提示内容因网络或其他原因暂时无法播放。代码片段https://developers.weixin.qq.com/s/IHTEqemj7BO4
该内容因网络或其他原因暂时无法播放?使用音频播放,部分机型提示:该内容因网络或其他原因暂时无法播放。
2024-01-15