+ 1

Autoplay

In this project I have the atribut "autoplay" for the audio, but if I run it it's doesn't play. https://sololearn.com/compiler-playground/WH21vkh75H7G/?ref=app

28th Aug 2024, 8:34 AM
Jakob
Jakob - avatar
2 Answers
+ 4
Most browsers won't allow autoplay. Users find it extremely annoying when audio starts without their explicit consent, that's why browsers don't allow it.
28th Aug 2024, 9:29 AM
Lisa
Lisa - avatar
+ 2
Thanks
28th Aug 2024, 9:29 AM
Jakob
Jakob - avatar