How to get permission to play audio file in Safari?

I am using a single notification sound in my app as .mp3
I like to build a button that is getting the user permission to autoplay this sound in iOS.

I am searching for a workflow script for that I guess it should be java to prompt user to allow this audio file to be played or to switch on autoplay settings for this website.

This topic was automatically closed after 70 days. New replies are no longer allowed.