Jump to content

Embedding iFrame not showing on Mac/not able to login

Recommended Posts

Site URL: https://www.redrockbakery.com/rewards

I am having an issue with my iframe. I entered the following code in the code block, everything works great except for the login part. When I try to login, it just seems to refresh the page. 

<html> 
<head> 
<title>Red Rock Bakery Iframe Test</title> 
</head> 
<body> 

<iframe allow transparency="true" 

 title="red rock bakery" 

 style="background-color: #FFFFFF" 

 src="https://account.clutch.com/redrockbakery" 

 frameborder="0" height="750" width="100%"> 

</iframe> 

  </body> 

 </html>

 

 

I read somewhere to add this to the Settings > Advanced > Code injection > Header

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"></meta>

But that didn't seem to help. Also, my website is https:// and the site I am trying to embed also seems to be https:// So I'm not sure. 

 

Also, it seems to work perfectly on a PC, but does not work on a Mac using safari or chrome. 

Any help is great! 

 

Link to comment
  • Replies 2
  • Views 1.6k
  • Created
  • Last Reply

I'm not seeing a problem on Mac Chrome.

1620281570_ScreenShot2021-03-18at9_25_31PM.png.66aaaeb8118fdb80028a70566cb16957.png

One change I suggest you make.

In your code block you only need the code starting with <iframe> and ending with </iframe>.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.