Skip to main content

Embedding videos on WordPress

Learn about adding Wistia videos to your content in WordPress.

Harper avatar
Written by Harper
Updated this week

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.

Get started with embedding on WordPress

Tip

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)

Note

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:

  1. In the WP editor, click the block inserter "+" button

  2. Add the Custom HTML block to the page

  3. Add your embed code to the block, then click on the "Preview" option to see your video

Embed 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 Code tab of the page.

  1. From your Wistia media page, copy the embed code for your media

  2. In the WP Classic Editor, select the Code tab

  3. Paste the embed code into the page

  4. Click "Preview" to see your video, or "Publish" 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 about testing out embed codes here.

Did this answer your question?