The Wix HTML widget uses an embedded iframe.

In order to get samba live to work with a nested iframe, you have to also input allow=“camera,microphone” in the end of the body tag:

var iframes = document.querySelectorAll(“iframe”); // finds all iframes
for (var i = 0; i < iframes.length; i++) {
var name = iframes[i].getAttribute(“name”)
if (name.includes(“htmlComp”)) {
iframes[i].setAttribute(“allow”, “microphone; camera”)


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
For customer support, please contact us here.

Post Comment