WordPress Embed - Loads Intermittently

Steve_B

New member
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

Active member
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:
$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

New member
WebSupport said:
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:
$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
 
Top