This plugin simplifies adding Wistia videos to your site. You can use a shortcode or insert a video with a custom Gutenberg block.
You won't have to deal with the large embed codes which load the javascript in the middle of the page. The main Wistia javascript file will only be loaded once per page, and associated JSON files will be grouped together in the footer.
Install the plugin
- Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
There are no settings. To use, [mh_wistia_embed id=""] or use the MH: Wistia Video block.
Get the wistia ID from the embed code or the url of the video in wistia.
Shortcode Options
id: the wistia ID for the video. Required.
embed_type: inline or popover. Defaults to inline.
animatethumbnail: Whether to animate the hover effects on the thumbnail. Default is false
responsive: Use responsive video. Default is false
height: IF not responsive, use height
width: IF not responsive, use width
player: js or iframe. Defaults to js