$w("#audioPlayer") not working

Read Wix Support pages about it.
The new autoplay policy for certain browsers only allows video to autoplay when the sound is muted.
https://support.wix.com/en/article/autoplay-on-desktops-and-laptops

It is a Google Chrome issue, it has been talked about previously.

In modern versions of Chrome, you can’t have videos autoplay with sound enabled by default.
You need to add the muted property to your HTML5

muted="muted"

https://developpaper.com/hack-played-automatically-by-audio-in-chrome-browser/