Embed Wistia Vid

To use Plugin install and then on page you wish to place the Wistia Vid put shortcode [wistiavid id=xxxxx] xxxxx being the Wistia Video ID, this can be found in the URL of the video on Wistia.
Eg. http://smallbusinesswebsites.wistia.com/medias/q509p384zl
The ID of this video is q509p384zl therefore the shortcode for the video is [wistiavid id=q509p384zl] as found on this page:
http://www.smallbusinesswebsites.org.au/about-us/
Thanks
Craig Lambie
Developer
Why I did this?
The Wistia Plugin caused me great pains. I tried a few other code snippet plugins, but they then caused issues with “other” plugins.
Known issues:
– “Add this” plugin can cause an error with conflicts in Jquery or Wistia JS files
https://wordpress.org/extend/plugins/addthis/
Future developments:
– Player customisation
– Social Sharing tools
– Call to action plugin
– More control over email capture plugin
Advanced Users Only:
Feel free to edit code to make this work for you.
Just go to “embed builder” in Wistia, set up video how you want it.
Select Embed Type: Inline
Show advanced options
– Select API
You will see the section:
“
<
script>
wistiaEmbed = “
Duplicate this in the wistiavid.php file function PlaceWistiaVid($args) – be sure to watch the commas
Arbitrary section 1
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



