WordPress Embed - Loads Intermittently

If you are integrating with WordPress or WooCommerce, start here.
Steve_B
Posts: 2
Joined: Tue Nov 03, 2020 10:56 am
Contact:

WordPress Embed - Loads Intermittently

Postby Steve_B » Tue Nov 03, 2020 11:11 am

Hi,

I'm running the free version as a proof-of-concept for our blog using custom images and a modified XML (both housed in the plugin folder). The WordPress embed is only loading intermittently. Sometimes nothing loads at all (including progress bar), other times it loads fine. Oddly, the pop-out function works perfectly, and if I embed the pop-out URL into an iFrame it also loads fine.

I have checked the XML path and it is accessible, along with individual components of the viewer and the images.

Could this be a conflict with another plugin or our site security?

Example here: https://www.mishimoto.com/engineering/development/2020/10/360-test/

Thanks,
-Steve

WebSupport
Posts: 1098
Joined: Thu Aug 23, 2012 11:35 am
Location: Pasadena, CA
Contact:

Re: WordPress Embed - Loads Intermittently

Postby WebSupport » Tue Nov 03, 2020 11:41 am

Hi Steve, do you know which page speed optimization plugin is chaining the footer scripts on the page? It looks a bit odd and likely is a culprit. Not 100% sure but it's worth a try to disable the plugin and retest.

Code: Select all

$LAB.script("https://c0.wp.com/c/5.5.3/wp-includes/js/jquery/jquery.js").wait().script("https://c0.wp.com/p/jetpack/7.3.2/_inc/build/related-posts/related-posts.min.js").script("https://c0.wp.com/p/jetpack/7.3.2/_inc/build/photon/photon.min.js").script("https://s0.wp.com/wp-content/js/devicepx-jetpack.js").script("https://secure.gravatar.com/js/gprofiles.js").wait().script("https://c0.wp.com/p/jetpack/7.3.2/modules/wpgroho.js").script("https://www.mishimoto.com/engineering/development/wp-content/themes/twentyfourteen/js/functions.js").script("https://www.mishimoto.com/engineering/development/wp-content/plugins/wp-spamshield/js/jscripts-ftr2-min.js").script("https://c0.wp.com/c/5.5.3/wp-includes/js/wp-embed.min.js").script("https://www.mishimoto.com/engineering/development/wp-content/plugins/webrotate-360-product-viewer/public/webrotate360.js").script("https://www.mishimoto.com/engineering/development/wp-content/plugins/webrotate-360-product-viewer/imagerotator/html/js/imagerotator.js");

Steve_B
Posts: 2
Joined: Tue Nov 03, 2020 10:56 am
Contact:

Re: WordPress Embed - Loads Intermittently

Postby Steve_B » Tue Nov 03, 2020 11:54 am

WebSupport wrote:Hi Steve, do you know which page speed optimization plugin is chaining the footer scripts on the page? It looks a bit odd and likely is a culprit. Not 100% sure but it's worth a try to disable the plugin and retest.

Code: Select all

$LAB.script("https://c0.wp.com/c/5.5.3/wp-includes/js/jquery/jquery.js").wait().script("https://c0.wp.com/p/jetpack/7.3.2/_inc/build/related-posts/related-posts.min.js").script("https://c0.wp.com/p/jetpack/7.3.2/_inc/build/photon/photon.min.js").script("https://s0.wp.com/wp-content/js/devicepx-jetpack.js").script("https://secure.gravatar.com/js/gprofiles.js").wait().script("https://c0.wp.com/p/jetpack/7.3.2/modules/wpgroho.js").script("https://www.mishimoto.com/engineering/development/wp-content/themes/twentyfourteen/js/functions.js").script("https://www.mishimoto.com/engineering/development/wp-content/plugins/wp-spamshield/js/jscripts-ftr2-min.js").script("https://c0.wp.com/c/5.5.3/wp-includes/js/wp-embed.min.js").script("https://www.mishimoto.com/engineering/development/wp-content/plugins/webrotate-360-product-viewer/public/webrotate360.js").script("https://www.mishimoto.com/engineering/development/wp-content/plugins/webrotate-360-product-viewer/imagerotator/html/js/imagerotator.js");


Looks like it was caused by a plugin the previous admin installed to defer the loading of scripts (called WP deferred javaScript, for anybody reading this in the future). Disabling that plugin seems to have fixed the issue and has not affected site speed.

Thanks!
-Steve


Return to “WordPress and WooCommerce Integration”