dimanche 6 mai 2018

Audio AutoPlay on HTML Website not working

Hello, I started recently to learn HTML so I don't understand one thing. I tried to make a fan-website for a artist so I wanted to put a start page music which auto start. Why when I open the start page, my audio file don't play ? I guess the code's good so I think i don't have any mistake. This is my code :

<audio controls autoplay loop>
  <source src="https://s3.amazonaws.com/Syntaxxx/bigger-picture.mp3" type="audio/mpeg">
  <p>If you can read this, your browser does not support the audio element.</p>
</audio>

What I need to do to resolve my problem ? Thanks.




Aucun commentaire:

Enregistrer un commentaire