Urgent!!! How do I add background music in sololearn app and play it automatically. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

Urgent!!! How do I add background music in sololearn app and play it automatically.

8th Aug 2020, 4:02 PM
sourav kumar shaw
sourav kumar shaw - avatar
8 ответов
+ 9
actually you cant play music without any user interaction to the page... so just add something saying click the page or it maybe a button and after that you can play audio...
8th Aug 2020, 4:52 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 4
autoplay is not allowed in modern browser to protect user experiences.
8th Aug 2020, 5:51 PM
Gordon
Gordon - avatar
+ 3
Thank you all for answering.
8th Aug 2020, 5:01 PM
sourav kumar shaw
sourav kumar shaw - avatar
8th Aug 2020, 4:04 PM
Pranav Kalro
Pranav Kalro - avatar
+ 2
Read the third part of the lesson, it is mentioned there.
8th Aug 2020, 4:09 PM
Pranav Kalro
Pranav Kalro - avatar
+ 1
The song should play in the background without the control being seen and must play automatically.
8th Aug 2020, 4:06 PM
sourav kumar shaw
sourav kumar shaw - avatar
+ 1
I tried using autoplay but it is not working in the the sololearn app.
8th Aug 2020, 4:10 PM
sourav kumar shaw
sourav kumar shaw - avatar
+ 1
It should done by using pure html only.
8th Aug 2020, 4:13 PM
sourav kumar shaw
sourav kumar shaw - avatar