• Resolved MKSnMKS

    (@mksnmks)


    I ran a test on page load speeds for our website, and found that its worst score was on Blocking Javascript, and a number of the javascripts that were causing a problem were related to Customize YouTube Embed Plus.
    The following is a list of the javascripts that appear to be associated with the YouTube Embed Plus plugin, that are “blocking” ;

      *** Web Address ***/wp-content/plugins/youtube-embed-plus/scripts/fitvids.min.js

    If possible, could you please adjust this code so that it no longer block page loads?

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author embedplus

    (@embedplus)

    Hello,

    What your asking for is essentially deferring the javascript. The problem with defering that javascript is that it often results in the “FOUC” effect for videos (i.e. you’ll see an undesirable flash of the non-responsive video before you see it responsively sized). And the more content in the page, the worse the FOUC gets.

    If you want to defer stuff anyway (and if you’re truly interested in general optimization), then you really ought to be using a full-fledged optimization plugin that can bundle and defer all your css and javascript, from your theme and all your plugins, all at once. A great one is Autoptimize ( https://ww.wp.xz.cn/plugins/autoptimize/ ).

    -EmbedPlus Team

Viewing 1 replies (of 1 total)

The topic ‘YouTube Embed plugin – please remove blocking JavaScript’ is closed to new replies.