Need Help Audio autoplay is not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Need Help Audio autoplay is not working

Here my code the web can work ,and controls also working but,when i open the web the music just not playing i need click to play it Should i need to change chrome setting??? HELP!!!!! <html> <head> MUSIC </head> <title> Audio </title> <body> <audio autoplay="autoplay" controls="controls"> <source src="Africa Salaryman ED.mp3" type="audio/mp3"> </source> </audio> </body> </html>-

20th Dec 2019, 1:56 PM
MoonCake Takahashi
MoonCake Takahashi - avatar
2 Answers
0
I think the problem is with the spaces in the name if the audio file, try a rename your file to a simpler none space name like (sound) then it will work
20th Dec 2019, 8:06 PM
Abdol Hashimi
Abdol Hashimi - avatar
0
Most browsers don’t let autoplay
22nd Dec 2019, 5:16 PM
Rora