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

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录