Description
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.
Blocks
This plugin provides 1 block.
- marcus-hiles-wistia-shortcodes/wistia-video-block
Installation
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
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Marcus Hiles Wistia Shortcodes” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Marcus Hiles Wistia Shortcodes” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.3
- Check for if Gutenberg exists
1.2
- Fix missing file
1.1
- Add Gutenberg Support
- Gutenberg block for video
1.0
- Initial release