I have encountered an issue with my website hosted by netlify. Everything runs smoothly, except for when I try to cycle through an array of objects and experience a 0.5-2 second lag in audio playback using the code "audio.play()"
.
Interestingly, after cycling through the objects once, the lag mostly disappears. Could this possibly be a netlify-related problem?
Oddly enough, on my localhost setup, everything functions perfectly, just like in the movies!
If anyone has any helpful links, videos, or advice to offer, I would greatly appreciate it. Thank you in advance.