Background Audio | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

Background Audio

I want to set the background audio for my webpage. How can I do this?

12th Apr 2018, 2:15 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar
2 ответов
+ 2
This he how I'd go: add an audio player using the <audio autoplay> tag with an autoplay attribute somewhere within the page and then just make it invisible through CSS using display none or opacity 0
12th Apr 2018, 2:23 PM
CHMD
CHMD - avatar
+ 2
Thanks for your help KINGDX
12th Apr 2018, 10:53 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar