微信自动播放音频

wx.config({
      debug: false,
      appId: "",
      timestamp: 1,
      nonceStr: "",
      signature: "",
      jsApiList: []
    })
    wx.ready(function () {
      var audio = document.getElementById("audio")
      audio!.play()
      setAnimitAudio(true)
    })
posted @ 2022-07-14 10:19  acttan  阅读(169)  评论(0)    收藏  举报