Jump to content

Iframe and Discord

Go to solution Solved by paul2009,

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 5
  • Views 9k
  • 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
  • Solution
9 hours ago, Skylab said:

It doesn't show up in Chrome.

This is what i see in Chrome:

image.thumb.png.d4c88f05948076bc67df22969655df20.png

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
  • 1 year later...

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.