+ 1

How do I hide a music player and put it to auto play?

is there a way that I can hide a music player and have it auto play the sound? I think with the right code it can be possible but I don't know where to start. The audio file is not that long, maybe 15 -20 seconds long at best.

24th Feb 2018, 2:04 AM
Michelangelo
Michelangelo - avatar
2 Answers
+ 3
It's already hidden if don't add controls to it <audio src="file" autoplay>
24th Feb 2018, 2:14 AM
Toni Isotalo
Toni Isotalo - avatar
+ 1
Thank you Toni and Max
24th Feb 2018, 2:20 AM
Michelangelo
Michelangelo - avatar