Jump to content

Use a .html file uploaded as file from iframe

Recommended Posts

Posted

Hi,

I am trying to use our own little app snippet in a .html file from an iframe in a code block. I have this file on squarespace: https://metaversewebshowcase.squarespace.com/s/showcase.html but when I try to use it from a code block as

<iframe src="https://metaversewebshowcase.squarespace.com/s/showcase.html"/>

I get this. If I open the URL directly in the browser, it simply downloads the file but not open it, so I suspect that there is a content-type is not properly set, or maybe the download attribute is attached for some reason. Changing "Open in a new Window" switch does not affect it.

Can somebody shed light on this, and perhaps tell me how to make the .html file usable as the src of iframe?

image.png.678df07efbb006a84db8c3a74f1bd1f8.png

  • Replies 0
  • Views 338
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.