I’m currently working on a project where I’m using .currentTime to set the time before an audio starts playing. I tested the feature on my desktop browser and it works perfectly fine. However, I realised it doesn’t work on my iOS mobile. Instead, the song starts right at the beginning.
I have done endless reading around the forum and other sites which saw me playing around with .oncanplay, .oncanplaythrough, .onloadeddata & .onloadedmetadata. To no avail.
When I wrap the play function with .oncanplay / canplaythrough functions, the sound becomes static and inaudible.
Here is my JSFiddle: https://jsfiddle.net/manoj1234/30g2qefk/16/ Thank you.