T
Typebot9mo ago
Mohsin

Can't Embed voice recorder webpage inside Typebot via iFrame Tag

Hi there, I'm new to Typebot I'm embedding an HTML/Js/FastAPI website that records user voice. When we embed it inside Typebot using an iframe tag(url included) the website loads fine, but voice recording feature doesn't work. It also doesn't prompt for microphone permission even though I've added the permission attribute in the iframe tag Could anyone here point out what is causing this issue? Not sure if it's a bug or I'm missing some Typebot permissions? Any assistance or concrete resources would be greatly appreciated. Thank you
3 Replies
Salim
Salim9mo ago
use allow="microphone" in the iframe tag. that worked for me.
Mohsin
MohsinOP9mo ago
I applied that attribute but it didn't work for me. Typebot uses regex that extracts url from iframe and has built-in height variable for height. No other attributes seem to be working there
greenrhyno
greenrhyno9mo ago
Can you try putting the persmissions in the bot header code from the settings tab? Apply them bot wide not just in the block may work.

Did you find this page helpful?