Posts

Post not yet marked as solved
0 Replies
888 Views
Good Morning,I have a problem with IOS devices, from other desktop devices, in Safari, I have no problems when collecting the audio for voice recordings (We activated the option to allow Automatic Playback from the "Settings for this website") . The problem comes from mobile devices, from where we did not find that option and when we try to collect the audio the following message appears:NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.Any solution to avoid this error? Here is where the error comes from:let listeningButton = $('#listening').get(0); Promise.resolve(listeningButton.play()).then(function(value) { if (debug) console.log('[ChangeMicroStatus] Changed to listening'); }).catch(function(reason) { console.error(reason); });
Posted
by Davivi88.
Last updated
.