Closed chenyu0532 closed 4 years ago
let myAudio = document.createElement('audio'); myAudio.setAttribute('src', cc.url.raw('resources/sound/' + this.sufi + '/' + this.sufi + _.tag1 + '.mp3')); myAudio.playbackRate = 0.7; myAudio.play();
请问下,小游戏平台支不支持创建audio。。以及支不支持playbackRate属性
https://minigame.vivo.com.cn/documents/#/api/media/audio 不支持playbackRate
let myAudio = document.createElement('audio'); myAudio.setAttribute('src', cc.url.raw('resources/sound/' + this.sufi + '/' + this.sufi + _.tag1 + '.mp3')); myAudio.playbackRate = 0.7; myAudio.play();
请问下,小游戏平台支不支持创建audio。。以及支不支持playbackRate属性