
The short answer: an iframe is a window inside your page that shows another page (a map, a video, a form). For a map or a video, the service gives you ready-made code. But not every page lets itself be shown this way: many tell the browser to refuse, and the window appears blank with “refused to connect”.
What the site needs
| What | What to do |
| What it is for | A location map, a video, a booking calendar, a form from another service. |
| How to do it | The service offers an “embed” option and gives a code; you paste it into the page, in an HTML block. |
| Why it stays blank | The destination page forbids being embedded, through a security header, or your own site refuses everything: Security headers. |
| Privacy | An iframe from another service may set its cookies: The cookie notice. |
| Speed | Each iframe is a whole page loading. Defer what is off-screen: Lazy loading. |
Getting started
|
|
|
|
|
| If your site also needs to be embeddable elsewhere, or the other way round, the header that prevents it has to change, carefully: allowing everything exposes the site to being shown inside fake pages. A restrictive policy is safer: Content Security Policy. |
| A map showing where the business is also helps being found: Being found on Google. For videos: Videos on your website. |
|
The iframe stays blank and you have tried this? Open a ticket with the page’s address and the embedded content’s address. Open a support ticket |
RECOMMENDED PRODUCT Web hosting with cPanel Domain and SSL included, daily backups and the panel you already know. from $6.59/mo (3-year plan, with coupon) See plans |











