I have website with background music and single image. I want image to be hidden until music starts and maybe even have somekind of loading message until audio starts autoplay.
please help me 🙂
I have website with background music and single image. I want image to be
Share
Have a look at the script in this answer.
Obviously you have to change the function attached to ‘canplaythrough’ to suit your needs, e.g. adding something like: