# Play.ai microphone access

**URL:** <https://community.glideapps.com/t/play-ai-microphone-access/73508>\
**Category:** Ask for Help\
**Created:** [May 20, 2024, 3:45pm UTC](https://community.glideapps.com/t/play-ai-microphone-access/73508 "2024-05-20T15:45:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Todd\_Lichtenwalter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/todd_lichtenwalter/32/12231_2.png) [@Todd\_Lichtenwalter](https://community.glideapps.com/u/Todd_Lichtenwalter)\
**Post date:** [May 20, 2024, 3:45pm UTC](https://community.glideapps.com/t/play-ai-microphone-access/73508/1 "2024-05-20T15:45:45Z")

</div>

I am attempting to put a voice chat AI agent that I can train on my course content so that students can have conversations as opposed to the traditional chat text box exchange. I have the agent in my Glide app and it is not working because of a “grant microphone access” warning. Is there a way around in this in Glide or is it all up to the developer Play.ai to change something on their end?

 ![CleanShot 2024-05-20 at 11.44.40](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/0/b0dfcbcd3d296d9f023b61f21fb4ef152cef04b9.png)

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [May 20, 2024, 4:01pm UTC](https://community.glideapps.com/t/play-ai-microphone-access/73508/2 "2024-05-20T16:01:58Z")

</div>

I know if you use the Glide native audio recorder it causes the prompt to show and grant access. Maybe you could use that component somehow

---

<div class="post-metadata">

**Author:** ![Todd\_Lichtenwalter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/todd_lichtenwalter/32/12231_2.png) [@Todd\_Lichtenwalter](https://community.glideapps.com/u/Todd_Lichtenwalter)\
**Post date:** [May 20, 2024, 4:28pm UTC](https://community.glideapps.com/t/play-ai-microphone-access/73508/3 "2024-05-20T16:28:55Z")

</div>

Alright, I will tinker with that. ChatGPT just informed me that for security reasons, iFrames are generally not allowed access to the microphone. However, I just read that there is a way to code around this, so I am searching for a solution…ok nothing has worked so far. Play.ai does have API key option, does that mean in theory Glide could create an Integration which would then solve this problem?

---

<div class="post-metadata">

**Author:** ![Todd\_Lichtenwalter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/todd_lichtenwalter/32/12231_2.png) [@Todd\_Lichtenwalter](https://community.glideapps.com/u/Todd_Lichtenwalter)\
**Post date:** [May 20, 2024, 5:26pm UTC](https://community.glideapps.com/t/play-ai-microphone-access/73508/4 "2024-05-20T17:26:17Z")

</div>

I thought you might have found the solution: I placed an audio recording component on the layout. When you click it while viewing on a phone the phone grants permission to to Glide but apparently only the native recording component, not the embedded Web component that holds the AI agent. Close but no cigar…

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [May 20, 2024, 7:12pm UTC](https://community.glideapps.com/t/play-ai-microphone-access/73508/5 "2024-05-20T19:12:40Z")

</div>

Shoot, I guess that makes sense. I hope you find a way. If not we could build it natively and I could help you. It’s a lot of work though

---

<div class="post-metadata">

**Author:** ![Todd\_Lichtenwalter](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/todd_lichtenwalter/32/12231_2.png) [@Todd\_Lichtenwalter](https://community.glideapps.com/u/Todd_Lichtenwalter)\
**Post date:** [May 20, 2024, 7:30pm UTC](https://community.glideapps.com/t/play-ai-microphone-access/73508/6 "2024-05-20T19:30:22Z")

</div>

I am waiting to hear back from the Play.ai developer to see if something can be done on their end. I will reach out if I decide to hire you to build it natively.

So cool having an AI agent inside Glide that is trained on your own knowledge and can act as a tutor for the students that they speak to. These are amazing times for both teachers and students.
