Jump to content

Iframe and Discord

Recommended Posts

Site URL: https://skylabnyc.com/

So, before I posted this I did research on it in the Squarespace forums. But, I'm no coder so I just wanted some clarification on what I read.

I wanted to put this code into my site (i have a live commerce site). It's a discord chat window I wanted to try out, the code is this:
<iframe src="https://discord.com/widget?id=880540850617196594&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>

When I put that into an embed block under code snippet nothing comes up. It's a blank box. When I try a code block nothing shows up.
Is this because my site is on HTTPS and that is protecting me from putting in code that someone could use to hack into?
If I were to lower my site security would this then work?

If this is the case, is there no way to use a Discord chat window with HTTPS?

Any help would be appreciated, thanks everyone!


Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

Hey Tuanphan. Ok i got the Discord chat window to appear and it now functions right. The strange thing is it shows up in Opera, Microsoft Edge, and Firefox. It doesn't show up in Chrome.


For Chrome, there's a gray box with a sad face that pops up for a second and then disappears. It appears where the Discord widget should appear. I've attached a screenshot for clarity.

What do you think?

discord widget missing.jpg

Edited by Skylab
Link to comment
9 hours ago, Skylab said:

It doesn't show up in Chrome.

This is what i see in Chrome:


Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)

Buy me a coffee

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.