Skip to content

iFrame Shows Blank

iFrame Shows Blank

The iFrame widget is not displaying content.

Common Causes

1. X-Frame-Options Header

Many websites block embedding in iframes using headers:

  • X-Frame-Options: DENY
  • X-Frame-Options: SAMEORIGIN

This is controlled by the target website, not dotBlast.

2. Mixed Content

If your dashboard uses HTTPS, the iframe must too.

Fix: Use https:// URLs for all embedded content.

3. Browser Restrictions

Some sites detect and block iframe embedding regardless of headers.

Troubleshooting Steps

  1. Verify the URL works in a new browser tab

    • If it doesn’t load standalone, it won’t work in iframe either
  2. Check for HTTPS

    • Replace http:// with https:// in the URL
  3. Try a different page

    • Some pages on the same site may work when others don’t

What to Try Instead

Use a Screenshot Service

Services like htmlcsstoimage.com can convert pages to images.

Check for Public APIs

Many services offer API access instead of embedding.

Use Markdown Widget

For static content, the Markdown widget may be a better option.

Sites Known to Block Embedding

  • Google (Search, Maps, etc.)
  • Facebook
  • Twitter/X
  • Many banking sites
  • Most sites with sensitive data

These sites use strict security headers that cannot be bypassed.