Question:
Does Wix support inline iFrames referencing 3rd-party interactive services? In particular, the Cbox community chat frame.
Product:
Product-flexible; assume Editor X.
What are you trying to achieve:
Our current site has an embedded “live chat” function enabling all site visitors to chat “live” with each other. In our case, we use it while DJs are playing Live, and the chat box enables all listeners to talk to the DJ while playing. You can see it on the home page of our existing site at https://balearic-fm.com
What have you already tried:
I have read the documentation at Editor X: Adding an HTML iFrame Element | Help Center | Wix.com but it is not yet clear to me whether the iFrame will work. I’m asking as part of a Wix-evaluation (prior to doing the work).
Additional information:
The HTML required to insert the inline chat from Cbox is as follows:
A simple answer is to create a site and add the html code to see if it works. Without looking into the code it is hard to give a difinitive answer.
It turns out the answer to this is “Yes”.
You don’t want share your resutls?
Ah - sorry. I didn’t think anybody was paying attention to this, so just provided the bottom line.
Note: This answer uses Wix Studio; there are probably slight variations for Editor & Editor X.
The answer is to:
- click + to add an item
- select “Embed & social”
- select “Embed Code”
- paste in the iframe code supplied by Cbox
Voila. Done!
However, I note that the code provided by cbox specifies a width & height as parameters. As I’ve been setting up my site for mobile & tablet breakpoints as well as desktop, I am simply setting width in Wix, and not changing the iframe parameters. This has minor artifacts; I may yet try to experiment to see if I can set different parameters for the different breakpoints and see if Wix remembers them. If not, the issues are minor (having ugly line wraps).