So I have
So I wanted some background audio for my game that extended over multiple passages in the form of a loop but I think I use a code for harlowe instead of sugarcube. When I went and played it not only was there no music available but it gave an error for my dialogue boxes saying the macro was incorrect.
Can someone help?
This is the code I used in javascript
var audio = document.createElement: ('audio');
audio.src = '
https://www.youtube.com/watch?v=se--yzRW1pI';
audio.loop = true;
audio.play();
});