-
AuthorPosts
-
August 11, 2015 at 7:47 pm #356487
I’d like to embed a Wistia.com video on my homepage in the “Video Overview” section. Clicking on the “Video Overview” button should start playing my Wistia video. Is that possible?
August 11, 2015 at 7:49 pm #356488This reply has been marked as private.August 11, 2015 at 10:42 pm #356596This reply has been marked as private.August 12, 2015 at 3:32 pm #357448Just to follow up, the above suggestion worked except I had to change my Wistia Embed Type from iFrame to api.
August 12, 2015 at 3:34 pm #357453This reply has been marked as private.August 12, 2015 at 7:27 pm #357627Hello There,
I have set the post as private so the public can’t see it.
If you switch to API you can paste the Javascript code in Appearance > Customize > Custom > Javascript. Please note that <script> tag is not needed. In case you need to add javascript libraries, you can add the following in you child theme functions.php file:
add_action('wp_footer', 'add_custom_code', 9999 ); function add_custom_code() { echo 'custom-code-goes-here-like-this<script charset="ISO-8859-1" src="//fast.wistia.com/assets/external/E-v1.js"></script><script> wistiaEmbed = Wistia.embed("g5pnf59ala"); </script>'; }
Hope this helps.
-
AuthorPosts