Hello.

I am making a portfolio website and I wanted to embed music into it. I have the code for a hidden embeded music that autostarts when the site is opened as following:

CODE
<embed src="menu.mp3" autostart="true" loop="true" hidden="true"></embed>


That works fine and it appears to get the music to play as intended, however I have two images that I would like to make triggers to enable and disable the background music. In case the user gets annoyed by it.

How would I go about doing that?

I tried googling my problem, but couldn't find many results that were even remotely helpful to me.

I'd appreciate any help. Thanks!