HyperText Markup Language/Music
Users should have control over the background sound or music; therefore, media player controls should always be visible. Don't try to script your own controls since they might not work in all environments.
There are music players for websites that you can find if you search. They should never be set to auto-play, they should only play when the user chooses to play them.