APIs & Integrations

luke3
Member

Microphone and camera acces inside CMR extension iframe

Hello,

I'm trying to use camera and microphone inside iframe containig CMR extension's action. Unfortunately Google Chrome is blocking requests for user media (getUserMedia) comming from iframe by default. The same code works fine with Firefox.

 

Simple solution is to add feature policy to iframe:

 

allow="camera *; microphone *"

 

Is it possible to allow my CMR extension to get access to client's camera and microphone other way?

0 Upvotes
3 Replies 3
achabira101
Member

Microphone and camera acces inside CMR extension iframe

Hi guys any updates on that? im facing same issue.
im building extention for making calls from my app and i need "microphone" permission.
please let me know if you can help out.

0 Upvotes
cbarley
HubSpot Alumni
HubSpot Alumni

Microphone and camera acces inside CMR extension iframe

Hi @luke3 , I've dug into this one and was able to see the same thing as you. My setup worked in Firefox, but not in Chrome or Safari. I'm going to clarify with my team if this is expected or not, and if we have plans to support this. 

 

This is an interesting idea though, can you speak more about what your use-case is with this type of extension in HubSpot?

0 Upvotes
luke3
Member

Microphone and camera acces inside CMR extension iframe

Hi @cbarley  , thanks for respond. I'm building extension for automatically transcribed calls. 

 

0 Upvotes