Video Not Playing on X Pro

My background video is not playing on my X Pro installation.

It appears that there could be some conflict between WP Rocket and X Pro in this case.

When I bypass caching with an argument, the video plays (e.g. ?test)

Can you identify anywhere where this issue would occur? This same setup was working when I was in X Theme but now has an issue in Pro when I migrated today.

Hello Tim,

Thanks for the very detailed post information.

After doing the updates, always remember to clear all caches since you are using WP Rocket so that the code from the latest release is always in use. This will help you to avoid any potential errors. And please clear your browser cache too. You may use private browsing mode in testing your site to make sure that you are viewing the latest codes from the updates and not the cached version in your browser.

This links might help:

And then, you must also clear the cache of the WP Engine.

I tried clearing all of the caches and performed all of the updates. The error is still occurring. Any other thoughts?

I was able to isolate the issue to WP Rocket’s minify Javascript option. Is there any way that we would know which file I should exclude so that it does not cause an issue?

Hi Tim,

You can exclude these files.

wp-content/themes/pro/cornerstone/assets/dist-app/js/cs-vendor.js
wp-content/themes/pro/cornerstone/assets/dist-app/js/cs.js
wp-content/themes/pro/cornerstone/assets/dist/js/site/cs-head.js
wp-content/themes/pro/cornerstone/assets/dist/js/site/cs-body.js
wp-content/themes/pro/cornerstone/assets/dist/js/admin/huebert.js
wp-content/themes/pro/framework/dist/js/site/x.js

Or use a wild card like /wp-content/themes/pro/(.*).js to exclude all the js on the theme directory.

Cheers!

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