Videofast.wistia.net/embed/iframe

Can you embed Wistia in an iframe?

Yes, with the Fallback (iframe) embed code. Wistia recommends its Standard JavaScript embed, and gives the iframe for sites that block scripts.

Checked Test again

Live check

Two links, two results

Result of
Home pageEmbeddable
wistia.com
X-Frame-Options
Not sent
CSP frame-ancestors
Not sent
Response
200 OK · 409 ms · HTTPS
Iframe URLEmbeddable
fast.wistia.net/embed/iframe/26sk4lmiix
X-Frame-Options
Not sent
CSP frame-ancestors
Not sent
Response
200 OK · 195 ms · HTTPS

Steps

How to embed Wistia

  1. Open the page of the video in your Wistia account.
  2. Click Embed to open the embed modal.
  3. Select the Inline style. Then, under Embed Type, select Fallback (iframe).
  4. Select Responsive or Fixed size.
  5. Click Copy Code. Paste the code into an HTML embed or custom code block on your page.

Embed code

Paste this into your page

HTML
<iframe
  src="https://fast.wistia.net/embed/iframe/{media-hashed-id}?seo=true&videoFoam=false"
  title="{video title}"
  allow="autoplay; fullscreen"
  allowtransparency="true"
  frameborder="0"
  scrolling="no"
  class="wistia_embed"
  name="wistia_embed"
  width="640"
  height="360">
</iframe>
<script src="https://fast.wistia.net/assets/external/E-v1.js" async></script>

The iframe plays without the script. With domain restrictions, keep E-v1.js on the page, outside the iframe.

URL patterns

Swap the link you have for the embed URL

  • You have{account}.wistia.com/medias/{media-hashed-id}Use in the iframefast.wistia.net/embed/iframe/{media-hashed-id}

Add options such as autoPlay=true after a ?, with & between them. Use percent encoding for names and values.

Good to know

  • Wistia recommends the Standard JavaScript embed where JavaScript is allowed.
  • Use the Fallback iframe on sites and site builders that block Wistia's script.
  • Domain restrictions apply to the whole account. Only the Account Owner can turn them on.
  • On a blocked site, the player shows "This video is not authorized to be embedded here."

Sources

Profile updated

Know before you embed.

Free, no sign-up, nothing stored. Paste a URL and get a verdict, a live preview, and the fix.