+ 3

How do you do audio autoplay!?!?

I keep trying <audio controls autoplay> and it doesn't autoplay, how you add background music to your website without the audio controls

5th Jul 2016, 4:34 PM
Oladeji Sanyaolu
Oladeji Sanyaolu - avatar
3 Réponses
+ 7
by using <bgsound src="youraudio.ext" loop="*">
6th Jul 2016, 12:23 PM
Satyajeet Premnath Gaur
Satyajeet Premnath Gaur - avatar
+ 2
the Code playground prevents autoplay and looping of audio and/or video. try your code on your xampp/Lamp server or check out the online editor at w3schools.com. http://www.w3schools.com/html/html5_audio.asp
30th Dec 2016, 5:26 PM
seamiki
seamiki - avatar
0
<audio controls autoplay loop>
22nd Feb 2017, 2:11 AM
Kevin Macandog
Kevin Macandog - avatar