Forum Discussion
Allowing microphone access on embedded web app
Hi DanAdams-9ad8e6,
Happy to help!
You can try modifying your iframe to add the allow tags and specify the exact permissions you need. Example:
<iframe src="..." allow=”autoplay; microphone”></iframe>
Hope this helps!
- DannyMcGee-397219 days agoCommunity Member
Hi, I am experiencing a similar issue. I have a web app that I am running through the web object option in Storyline. When I publish and run in preview I'm getting this message.
"The security policies of this page don't allow using the microphone." I'm unsure if this is related to the page or to Storyline and would appreciate some advice.
- LucianaPiazza16 days agoStaff
Hello DannyMcGee-3972,
Thanks for reaching out regarding the Audio settings message you are receiving when trying to access the microphone. This may be related to the security settings of the hosting website or the browser rather than Storyline itself. I have a few clarifying questions to better understand your setup!
- What web app are you currently using? Can you natively access the microphone for this site when viewing it in a browser window?
- Have you tried modifying the iFrame as my colleague Jose suggested earlier in this discussion?
- From your screenshot, I understand you are using Edge. Do you experience this behavior in another browser? I'm curious if it is browser-specific.
As a first step, here are a few things you can check:- Secure Hosting: Ensure your web app is hosted on a secure website using `https://`. Modern browsers block mixed content, so if your web app uses `http://`, it might be causing the issue.
- Browser Permissions: Check the browser settings to ensure that microphone access is allowed for the site where your web app is hosted.
- iFrame Restrictions: If your web app is embedded in an iframe, ensure the hosting website allows it. Some sites have `X-Frame-Options` set to `SAMEORIGIN` or `DENY`, which can prevent the web object from functioning properly.
If you're still having trouble, we'd be happy to examine your file more closely. You can upload your .story file to this thread or privately in a support case.
Looking forward to hearing from you!
- What web app are you currently using? Can you natively access the microphone for this site when viewing it in a browser window?