+ 1

Hello, Guys.

Yesterday I created a new code called «Arstotzka», I wanted to add music, but for some reason it doesn’t work, please help me fix it https://sololearn.com/compiler-playground/WfBdA8fM0e2f/?ref=app

20th Nov 2024, 11:59 AM
Kelderius
Kelderius - avatar
2 odpowiedzi
20th Nov 2024, 12:57 PM
Ausgrindtube
Ausgrindtube - avatar
+ 2
https://www.w3schools.com/html/html5_audio.asp I've tried it here, copied that part of your code. it works there. possible here autoplay is not supported. add there the controls attribute and save it :-) if you will host somewhere, just remove the controls. NOTE: autoplay is not really useful tool without a muted attribute. so I prefer using not to start automatically, but have controls. thanks
20th Nov 2024, 1:03 PM
Mihaly Nyilas
Mihaly Nyilas - avatar