交流专区
服务市场
开发者平台
学堂
文档
小程序
  • 常用主页

    小程序

    小游戏

    企业微信

    微信支付

  • 服务市场
    微信学堂
    文档
登录
切换主页

暂无个人介绍

关注私信

正在关注

0

关注者

0

获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
文章 回答 2提问 收藏 关注问题
  • 这个我也遇到了.我的问题更奇葩一点. 扫二维码时可以播放 扫条形码时不行. 做了延迟200ms,可以正常播放 使用 BackgroundAudioManager 进行测试,问题一样 但是可以发现提示src占用.

    InnerAudioContext.play在wx.scanCode成功回调中 无法播放

    https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/InnerAudioContext.play.html 本问题针对ios 安卓系统没问题 InnerAudioContext.play() 在 wx.scanCode 在失败回调中可以正常播放 但在成功回调中 无法播放 也监听不到错误 onShow () { this.innerAudioContext = wx.createInnerAudioContext() this.innerAudioContext.src = "http://downsc.chinaz.net/Files/DownLoad/sound1/201707/8986.mp3" this.innerAudioContext.onPlay(() => { console.log('开始播放') }) this.innerAudioContext.onError((res) => { console.log(res.errMsg) console.log(res.errCode) }) this.scanCode() }, scanCode () { wx.scanCode({ scanType: ['barCode'], success: res=> { console.log('scancode succ',this.innerAudioContext) this.innerAudioContext.play() }, fail:res=> { console.log('scancode fail',this.innerAudioContext) this.innerAudioContext.play() } }) }

    2020-12-17
  • +1 同样问题

    login:fail system error

    login:fail system error,试了好几个小程序都这样。。。

    2019-06-05
关闭

选择需要上架的开放服务

  • 模板开发

    针对行业、场景的小程序代开发服务,帮助企业快速搭建小程序

    上架
  • 插件

    提供可被小程序直接使用、丰富小程序能力的功能模块

    上架
  • 小商店服务

    为小商店商家提供更多的能力,帮助商家经营好小商店

    上架
关闭

案例类型

  • 小程序
  • 插件
  • 关于腾讯
  • 运营规范
  • 文档中心
  • 辟谣中心
  • 客服中心
  • Copyright © 2012-2025 Tencent. All Rights Reserved.