How to pass a value obtained in custom body HTML to the page?

Hi,

I’m using the getUserMedia() call in custom body-start HTML. I tried using it in an iframe but the permissions get denied and the iframe is not allowed to call getUserMedia(). I put it as custom body HTML loading on the page I need it. I want to pass the stream value from the custom HTML to the wix editor side page so that I don’t need to html code out the whole page.

Is there any way to pass the value from custom body HTML to the page?

Thanks!