Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

AMP v0.js with defer issue

$
0
0

Replies: 0

When ” Defer parsing of JavaScript” is enabled, single post of amp version (slug /amp) couldn’t load one of its js which linked on their cdn (https://cdn.ampproject.org/v0.js) has returned connection error.

Because the link written like this “https://cdn.ampproject.org/v0.js’%20defer=’defer”

Also I tried to add ignore list;

https://cdn.ampproject.org/v0.js
*v0.js

but problem it’s not resolved.

From AMP Plugin‘s /amp/includes/amp-post-template-actions.php line 24;
<script src="<?php echo esc_url( $amp_template->get( 'amp_runtime_script' ) ); ?>" async></script>


Viewing all articles
Browse latest Browse all 67836

Trending Articles