Can't retrieve currentTime from audio player, returns undefined

I have an audio player and I’m trying to retrieve the currentTime of it but it’s returning undefined.

I am using audioplayer.currentTime

I am trying to retrieve the current time of one audio player to use it as the starting point of the other.

My audio files are mp3 and meet all the requirements.

Has anyone had a similar issue or can help?