Safari video not work - NotAllowedError:The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission

I ran into this error when I was pilot testing my online experiment using Safari. I didn’t have any issue when I ran the experiment using Chrome. I’m using macOS Ventura 13.1. My psychopy version is 2022.2.5. My safari is version 16.2.

I searched the forum, and some posts suggested that this error would be solved by setting the video to not auto-start. However, in my experiment, I created a play button and a pause button. The video does not auto-start. It actually starts to play after participant click the play button on the screen. And I’m still having this error in Safari (but not in Chrome). I have no idea what went wrong. Can someone please help with this? Thanks!!