« Web, HTML, Tech Forum

music

hi i was wondering if anyone knows how we can add music to play in the background with out having a music player showing like spotify or soundcloud? like have it hidden.


Report Topic

1 Reply

Reply by Dustin

posted

You could assign your music player an identifying name and use css to hide it, but since browsers require user interaction for something to play, no one would ever hear your music because they couldn't click "play," unless they enabled settings in their browser to allow autoplay.


Report Reply