0

How can we add audio behind the image??

I want to run audio behind the image and also no visitor can see it.

7th Sep 2020, 10:10 AM
harshita baid
harshita baid - avatar
2 Respuestas
+ 2
<audio id="music" src="audio.mp3"> In js Window.onclick = ()=>{ document.getElementById("music").play() ; } In this way as the client click on window music started if loaded.
7th Sep 2020, 10:23 AM
Divya Mohan
Divya Mohan - avatar
0
Thank you
8th Sep 2020, 3:49 AM
harshita baid
harshita baid - avatar