I have this code and it works well…
var music = new BABYLON.Sound(“tv”, “textures/tvmusic.mp3”, scene, function () {
}, { loop: true, autoplay: true });
but when I add this…
music.attachToMesh(box);
give me this error…
AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu