else if (dataType === 0) {//--
gameBgm = wx.createInnerAudioContext()
gameBgm.src = gameBgmAudio
gameBgm.autoplay = true
gameBgm.loop = true
} else if (dataType === 2) {//--
gameBgm.destroy()
}
it has been destroyed before sharing. This method is called after sharing is successful. The method went in, but the music didn"t play.
is also feasible on Android.
I tried to monitor the execution of play () using play (), onPlay () "s method, but play () did not execute