=== Marcus Hiles Wistia Shortcodes === Contributors: marcushiles Donate link: https://marcus-hiles.com/ Tags: wistia Requires at least: 4.6 Tested up to: 4.9.7 Stable tag: 4.0 Requires PHP: 5.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html
Easily embed wistia videos using a shortcode.
== Description ==
This plugin simplifies adding Wistia videos to your site. You won't have to deal with the large embed codes which load the javascript in the middle of the page. The main wistia js file will only be loaded once per page, and assiciated json files will be grouped together in the footer.
== 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="<wistia_id>"]
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
== Changelog ==
= 1.0 =
- Initial release