Skip to content
← Back to Community
how do i embed the program into a website?
Profile icon
NicoleBurgess

Every time I try to open the embeded program in my website, the program won't load, it worked the first time i tried but since that happened it wont load and then the website crashes
Screen Shot 2020-01-10 at 10.42.49 AM

Voters
Profile icon
KAVANA-KIRAN-AN
Profile icon
Rodrigo-Tartuce
Profile icon
MuhammadSaman1
Profile icon
HarrisBrodsky
Profile icon
AdamHendrickson
Profile icon
MorganBennett
Profile icon
RaiyanKhan4
Profile icon
ShaikHaneef2
Profile icon
FernandaBretn
Profile icon
ra848185
Comments
hotnewtop
Profile icon
AdCharity

Repl.it has protections against iframes, along with other main sties like Google and Discord. Basically you can't embed it. You should be able to embed some repl code though...

Profile icon
NicoleBurgess

how would you be able to do that? the code i have to embed it came from this website when i clicked share so why would they provide an iframe and not let me use it @AdCharity

Profile icon
AdCharity

@NicoleBurgess is your repl private

Profile icon
NicoleBurgess
Profile icon
AdCharity

@NicoleBurgess try removing all of the attributes they give you except for the src since some of those aren’t supported/are depreciated by html5

Profile icon
NicoleBurgess

still didnt work @AdCharity

Profile icon
AdCharity

@NicoleBurgess :/ maybe report on the bugs page... Just to check, are you trying to look on the iframe on the repl.it preview? Open up the repl in a new tab (like the actual site in a new tab, it looks like: https://[name of the repl].adcharity.repl.co/).

Profile icon
NicoleBurgess

@AdCharity im trying to open the repl on a website im creating with html, it works when I open on the repl.it website

Profile icon
AdCharity

@NicoleBurgess great! That's perfectly normal. It's most likely because the repl preview on html repls is quite literally an iframe (or something similar) and you can't have iframes of iframes.

Profile icon
SixBeeps

That icon means that frame has crashed. Mind linking the repl for the webpage (or providing the code that embeds your repl)?

Profile icon
NicoleBurgess
websites not published to the web yet (just for a school project so all I have is the code to embed) @niorg2606