Issues Integrating Vapi Voice Chat Bot on Wix Website
Hi Vapi Support Team,
I am having trouble integrating the Vapi Voice Chat Bot on my Wix website. Here are the details:
Problem Description
I embedded the Vapi Voice Chat Bot using both the Voice Widget and the "Big Demo Link" in an iFrame. The bot interface is visible and responds to clicks but does not capture any voice input from the microphone.
Steps Taken
Voice Widget Integration:
Embedded the provided script in the body of the HTML.
Configured the assistant_id and apiKey.
Microphone access fails when embedded in an iFrame.
Big Demo Link in iFrame:
Embedded the demo link in an iFrame on my Wix site.
The bot is displayed and can be clicked, but it does not capture audio input.
Console Errors
The browser console logs errors related to feature policy checks and permissions:
[Error] Feature policy 'Microphone' check failed for element with origin 'https://vapi.ai' and allow attribute ''.
[Error] Not allowed to call enumerateDevices.
[Error] Not allowed to call getUserMedia.
[Warning] Devices Error (Permission Denied): NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
Additional Information
Browser microphone permissions are enabled.
The code works outside of Wix, indicating a specific issue with Wix.
Errors suggest the browser’s feature policy is blocking microphone access for the Vapi bot.
Request
Could you provide guidance on resolving these microphone access issues on a Wix website? Any specific configuration changes or alternative integration methods would be helpful.
Thank you for your assistance.
I am having trouble integrating the Vapi Voice Chat Bot on my Wix website. Here are the details:
Problem Description
I embedded the Vapi Voice Chat Bot using both the Voice Widget and the "Big Demo Link" in an iFrame. The bot interface is visible and responds to clicks but does not capture any voice input from the microphone.
Steps Taken
Voice Widget Integration:
Embedded the provided script in the body of the HTML.
Configured the assistant_id and apiKey.
Microphone access fails when embedded in an iFrame.
Big Demo Link in iFrame:
Embedded the demo link in an iFrame on my Wix site.
The bot is displayed and can be clicked, but it does not capture audio input.
Console Errors
The browser console logs errors related to feature policy checks and permissions:
[Error] Feature policy 'Microphone' check failed for element with origin 'https://vapi.ai' and allow attribute ''.
[Error] Not allowed to call enumerateDevices.
[Error] Not allowed to call getUserMedia.
[Warning] Devices Error (Permission Denied): NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
Additional Information
Browser microphone permissions are enabled.
The code works outside of Wix, indicating a specific issue with Wix.
Errors suggest the browser’s feature policy is blocking microphone access for the Vapi bot.
Request
Could you provide guidance on resolving these microphone access issues on a Wix website? Any specific configuration changes or alternative integration methods would be helpful.
Thank you for your assistance.