Hello @achandra,
I would love to help bust, just like last time, it’s a bit of a challenge. Mainly because:
-
I can’t reproduce the error, it works for me in Safari on macOS.
-
You say the problem only appears sometimes. Those kinds of issues are the hardest to debug. (You’ll want a bug to be reproducible.)
-
The code samples you have is relatively complex and contains some stuff that makes little sense, like importing mp3 files and try parsing them as JavaScript (
<script src="The Light of Day.mp3"></script>
).
Try authoring a sketch that does nothing more than loading and playing an mp3 file. Does the same problem appear in that sketch?