I'm facing a strange issue with my code - the autoplay feature for audio is not working as expected.
Typically, whenever I insert this particular piece of code into a website, the music starts playing automatically. However, it seems to be malfunctioning in this specific instance.
Please take a look at the footer code below:
<footer>
<ul>
<h1>
<a href="#"><img src="images/topoPirelli.png" alt=""></a>
</h1>
</ul>
<audio class="audio" loop autoplay="autoplay" controls>
<source src="1.ogg" type="audio/ogg">
<source src="1.mp3" type="audio/mpeg">
</audio>
</footer>
</div>
</body>
</html>