I am trying to loop the sound file and am having trouble finding a solution.
<embed class="audio" src="D:\Sublime Text 3\first\Clock-ringing.mp3">
I am trying to loop the sound file and am having trouble finding a solution.
<embed class="audio" src="D:\Sublime Text 3\first\Clock-ringing.mp3">
Use the audio
tag:
<audio autoplay loop>
<source src="D:\Sublime Text 3\first\Clock-ringing.mp3" type="audio/mpeg">
</audio>
you can also use:
<embed class="audio" src="D:\Sublime Text 3\first\Clock-ringing.mp3" loop="true">
Thanks. I tweaked it so that to hide the controls and autoplay.
<audio controls autoplay loop>
<source src="D:\Sublime Text 3\first\Clock-ringing.mp3" type="audio/mpeg">
</audio>
<style>
audio {
display: none;
}
</style>