Hubs Cloud, it does not allow me to insert my room in an iframe #4265
-
Hi, I'm trying to insert a room from my cloud hub instance into an iframe from an external domain that I also manage. I have modified the HTTP headers Content-Security-Policy: frame-ancestors to fix the first error I got:
This worked, but now a new error is called explicitly from the application code.
The code snippet that produces the error is this:
What is the correct way in which I should approach this problem and allow the execution of one of my rooms within an iframe of my external domain? Would it be enough to create my custom client eliminating this error call or am I missing something else? I appreciate any information, thank you very much for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The URL needs an embed code, which should be generated by the Invite menu. Here is an example:
|
Beta Was this translation helpful? Give feedback.
The URL needs an embed code, which should be generated by the Invite menu. Here is an example:
<iframe src="https://hubs.mozilla.com/AJeyeCM?embed_token=null" style="width: 1024px; height: 768px;" allow="microphone; camera; vr; speaker;"></iframe>