Title: YouTube Embed plugin &#8211; please remove blocking JavaScript
Last modified: March 16, 2018

---

# YouTube Embed plugin – please remove blocking JavaScript

 *  Resolved [MKSnMKS](https://wordpress.org/support/users/mksnmks/)
 * (@mksnmks)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/youtube-embed-plugin-please-remove-blocking-javascript/)
 * 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](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/youtube-embed-plugin-please-remove-blocking-javascript/#post-10089118)
 * 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://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)).
 * -EmbedPlus Team

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/youtube-embed-plus/assets/icon-256x256.png?rev=2165403)
 * [Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades](https://wordpress.org/plugins/youtube-embed-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-embed-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-embed-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-embed-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-embed-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-embed-plus/reviews/)

## Tags

 * [blocking](https://wordpress.org/support/topic-tag/blocking/)
 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [Youtube](https://wordpress.org/support/topic-tag/youtube/)

 * 1 reply
 * 2 participants
 * Last reply from: [embedplus](https://wordpress.org/support/users/embedplus/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/youtube-embed-plugin-please-remove-blocking-javascript/#post-10089118)
 * Status: resolved