Wistia Embed Code Stopped Working

Hello,

We have had wistia embeds for years on our site and they have suddenly stopped playing. I can change the embed code to an iframe embed and they work but i dont really want to have to go through and replace every embed i have done with new code if possible!

This is a link to the iframe embed - https://qmk.com.au/trade-show-displays/fabric-display-systems/waveline-event-displays/
and this is the standard javascript embed - https://qmk.com.au/trade-show-displays/fabric-display-systems/wavelight-infinity-light-box-display/

Please help ASAP! We are about to do an EDM and would like all the videos playing!

P.S. They do play if I log in to the admin on the website…

UPDATE FROM WISTIA
Wistia have found the issue… this line in the embed code is getting removed
<script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
It Shows up on the source code when I am logged in to WP but as soon as I log out it disappears. Can you please help me to fix this ASAP?

Hey @Quantum,

Thanks for providing the input from Wistia. We’ll surely help if our theme is the cause of the issue. You mentioned though that the videos work when you’re logged in and our theme does not have a feature that can remove codes based on logged in/out status. What usually causes that are optimization plugins and I see you’re using one as your HTML is minified.

With that said, please clear all caches and deactivate all optimization plugins like caching and plugin that can remove scripts. Check your videos after that.

If that doesn’t help, do a plugin conflict test. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

I also see you’re using a child theme and it’s possible you have a custom function that removes scripts so if the suggestions above don’t help, please switch to the parent theme.

Only if all the suggestions above were done and nothing helps, tell us where you placed the Wistia script code and give us WordPress Admin access in a Secure Note.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.