With videos there are many different options at your disposal, some attributes that you can change for example are whether the video loops, starts muted, preloads, autoplays and what controls to give to the user.
In this example I use autoplay and allow user controls.
Like with videos there are many different attributes you can adjust with audio. For example, autoplay, user controls, muted, and looping.
I used the loop attribute in this example.