Closed therapy closed 4 years ago
solved it, my code was `
` var rythm = new Rythm() rythm.connectExternalAudioElement(document.getElementById("music")) rythm.start() document.getElementById("music").play()Glad you found a solution :) ! Feel free to ask if you have any more question.
i tried using
<audioid="music" class="music" src="resources/mw.mp3" autoplay loop onplaying="" style="display: none;"></audio>
rythm.connectExternalAudioElement(music)but that didnt work, could you maybe add like a loop feature? thanks in advance :)