itch.io Spring Selects Series A
On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Thanks! I just used a simple html audio tag I slapped on the end of the code. So, in my game, it looks like:

<audio src="kml.mp3" autoplay><\audio>

At basically the bottom, after all of Adam's killer work.

it would be awesome if someone would do a list of commands you can put in your source code, not the HTML one. I would like to do one, but I do not understand all of the code.

This is fantastic! Where is the music hosted to get it to work in the game? I'm super basic with html!

Hey thanks! That means a lot! It's waaay down at the bottom of the code. All you need is:

<audio autoplay="">
    <source src="kml.mp3" type="audio/mpeg">
</audio>

somewhere in your work. The .mp3 is the file you want. You can't change songs on queue or anything fancy.

Awesome! Thanks dude. Clever stuff.

I guess you just upload the mp3 with the html, right?

Exactly