This is the closest I could get. Put this is a rich text component.
<audio controls autoplay loop
source src="https://www.soundjay.com/misc/censor-beep-01.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Removing ‘controls’ would make the audio component invisible, provided it works. ‘Autoplay’ is obviously meant to make the audio play automatically, but in my case, chrome prevents that from happening, so I still have to click on the play button. ‘Loop’ causes the audio to continuously loop.