Can't get Audio Player onPause event handler to work

Question:
I can not get the onPause event handler of the audio player to work. Below a few examples of what i have tried. None of the examples print the relevant console log statements. Has anyone gotten that event handler to work?

$w.onReady(function () {

    console.log("hey")

    $w("#audioPlayer").onPause(() => {
        console.log("now")
    })

});
$w.onReady(function () {
    $w("#audioPlayer").onPause((event) => {
        let targetId = event.target.id;
        console.log('trust the docs');
    });
});
$w.onReady(function () {
    let player = $w('#audioPlayer');

    player.onPause(() => {
        console.log('Audio paused');
    });
});

Product:
I am using velo in dev mode and am in

What are you trying to achieve:
I am trying to add code to my site that allows me to continue playback when users switch pages. I managed to do that with js through velo, but i need onPause and onPlay event handlers so that the music doesnt start playing again on loading a new page after having pressed pause on the previous page.
That is a feature currently not supported, so i am trying to do a js work around in velo.

What have you already tried:
I feel like i have tried every possible syntax under the sun to simply trigger a console.log when i click the pause button of the audio player.

Have you tried exporting the function directly from the audio player?