Skip to main content
Embedding videos on WordPress

All about adding Wistia videos to your content in WordPress.

Harper avatar
Written by Harper
Updated over 3 months ago

WordPress is one of the most popular CMS platforms on the web, with many different themes, builders, and plugins available. A flexible and open-source site builder, WP caters to users at many different levels of web development experience, from novice to expert. This guide will help you get started embedding Wistia videos on your WP site.


Getting started

Recommended embed settings for WordPress:

  • Inline (Standard) or Popover embed

  • Responsive Sizing

  • Embed into an HTML Block (block editor) or the Text tab (classic editor)

Avoid using the fallback/iframe embed type on WordPress, as the WP editor tends to modify the iframe code and break expected functionality.


Embedding in the block editor with an HTML block

Also known as Gutenberg, the block-based editor offers an HTML block that should support Wistia's Inline (Standard) or Popover embeds. Copy your embed code from Wistia and add an HTML block to your page:

  • In the WP editor, click the block inserter "+" button

  • Add an HTML block to the page

  • Add your embed code to the block, then Click on the HTML Preview to see your video


Embedding in the classic editor's Text tab

If you prefer to keep things old school and use the WP Classic Editor, you can add an Inline (Standard) or Popover embed in the Text Tab of the page.

  • From your Wistia media page, copy the embed code for your media

  • In the WP Classic Editor, select the Text tab

  • Paste the embed code into the page

  • Click Preview Changes to see your video, or Update to publish the page


Embedding with oEmbed links

If you’d prefer to embed a video URL instead of using HTML embed codes, oEmbed is a great option. Just add Wistia to your oEmbed provider list and you'll be good to go.


WordPress Themes and Plugins

One of the biggest selling points for WordPress is the massive library of 3rd-party resources available. While many themes and plugins have unique options for using video in new and creative ways, they don’t always include out-of-the-box support for Wistia embeds. We have some tips and strategies for how to check compatibility and test out our different embed styles.

Support for Wistia embeds depends on which hosts the developers chose to include – if there is a WordPress theme or plugin you really want to use with Wistia embeds, we recommend making a feature request to the devs who built it!

Read more: WordPress Themes, Plugins, and Wistia Medias

Did this answer your question?