Wistia video embed not working.

Hi guys,

I have a custom wistia video embed code that I’m trying to insert with PageBuilder, and it’s showing a white screen when I try to add it to an HTML box.

The HTML code (shown below) works if I add it to the regular text editor in WP. It’ll even show up in PageBuilder. But, if I try and add it directly to HTML in PageBuilder, it whites-out/locks up.

Thanks,
Nick

[Content Hidden]

Hey Nick,

Thanks for getting in touch! The code works fine on my local dev environment. I am receiving a 403(forbidden) error when applying the code to an HTML module on your site and this usually happens when a modsec rule is being triggered. Do you think you can get in touch with your hosting, show them this code and see what they say?

<script>var contactId = "[i4w_db_Id]";</script>
<script src="http://www.boundlesssuccess.net/wp-content/plugins/automation-clinic-infusionsoft-wistia-1/track.js"></script>
<script src="//fast.wistia.com/static/concat/E-v1.js"></script>
<div id="wistia_kxfz8vza1l" class="wistia_embed" style="width:720px;height:433px;"> </div>
<script charset="ISO-8859-1" src="//fast.wistia.com/assets/external/E-v1.js"></script>
<script>
  wistiaEmbed = Wistia.embed("kxfz8vza1l", {
    plugin: {
      resumable: {
        src: "//fast.wistia.com/labs/resumable/plugin.js",
        async: false
      },
      dimTheLights: {
        src: "//fast.wistia.com/labs/dim-the-lights/plugin.js"
      }
    }
  });
</script>

Let us know how it goes! :slight_smile:

Ben