BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Embed Optimizer icon
Actively maintained Tested with WP 7.1 #760 most installed plugin #1 in Embeds Community

Embed Optimizer

Optimizes the performance of embeds through lazy-loading, adding dns-prefetch links, and reserving space to reduce layout shifts.

Active installs50K+50K+ tier
Downloads · 30d23.2K▲ +16.4% vs prev. 30d
Rating3/52 reviews
Health score71/100Good
All-time downloads421.4KSince Mar 2024
Support resolved—No recent threads
RequiresWP 6.9PHP 7.4+
Overall rank#760of 69,506 plugins
Our verdict

Solid choice

Embed Optimizer is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50K+ sites, is rated 3/5 and was last updated 1 month ago, and scores 71/100 on our health check.

  • Proven at scale on 50K+ active sites
  • Tested with the latest WordPress (7.1)
  • Momentum — downloads up 16.4% vs the previous 30 days
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

3.5K6.9K10.4KJun 28Aug 11Sep 25
Yesterday383
Daily average (1y)538
Peak day18,893Jan 9, 2026
Last 12 months196K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Embed Optimizer stands today
Overall popularity #760 of 69,506 WordPress.org plugins Top 1%
50K+ installs tier 294 of 324
Next tier: 100K+ installs
Embeds #1 of 30 plugins → Optimization-detective #1 of 2 plugins → Performance #35 of 976 plugins →

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
Embeds #6 6,145 Best Embeds plugins →
optimization-detective #3 8 Best optimization-detective plugins →
performance #56 10,000 Best performance plugins →

Version adoption

Share of active sites per release.

  • 1.096.2%
  • Other3.8%

Rating breakdown

★★★★★★★★★★ 3 from 2 reviews

  • 5★50.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★50.0%

About Embed Optimizer

From the official readme · v1.0.0-beta6

Description

This plugin’s purpose is to optimize the performance of embeds in WordPress, such as Tweets, YouTube videos, TikToks, and others.

The current optimizations include:

  1. Lazy loading embeds just before they come into view.
  2. Adding dns-prefetch links for embeds in the initial viewport.
  3. Reserving space for embeds that resize to reduce layout shifting.

Lazy loading embeds improves performance because embeds are generally very resource-intensive, so lazy loading them ensures that they don’t compete with resources when the page is loading. Lazy loading of IFRAME-based embeds is handled simply by adding the loading=lazy attribute. Lazy loading embeds that include SCRIPT tags is handled by using an Intersection Observer to watch for when the embed’s FIGURE container is going to enter the viewport, and then it dynamically inserts the SCRIPT tag.

This plugin also recommends that you install and activate the Optimization Detective plugin, which unlocks several optimizations beyond just lazy loading. Without Optimization Detective, lazy loading can actually degrade performance when an embed is positioned in the initial viewport. This is because lazy loading such viewport-initial elements can degrade LCP since rendering is delayed by the logic to determine whether the element is visible. This is why WordPress Core tries its best to avoid lazy loading IMG tags which appear in the initial viewport, although the server-side heuristics aren’t perfect. This is where Optimization Detective comes in since it detects whether an embed appears in any breakpoint-specific viewports, like mobile, tablet, and desktop. (See also the Image Prioritizer plugin which extends Optimization Detective to ensure lazy loading is correctly applied based on whether an IMG is in the initial viewport.)

When Optimization Detective is active, it will start keeping track of which embeds appear in the initial viewport based on actual visits to your site. With this information in hand, Embed Optimizer will then avoid lazy loading embeds which appear in the initial viewport. Furthermore, for such above-the-fold embeds Embed Optimizer will also add dns-prefetch links for resources known to be used by those embeds. For example, if a YouTube embed appears in the initial viewport, Embed Optimizer with Optimization Detective will omit loading=lazy while also adding a dns-prefetch link for https://i.ytimg.com which is the domain from which YouTube video poster images are served. Such links cause the initial-viewport embeds to load even faster.

The other major feature in Embed Optimizer enabled by Optimization Detective is the reduction of layout shifts caused by embeds that resize when they load. This is seen commonly in WordPress post embeds or Tweet embeds. Embed Optimizer keeps track of the resized heights of these embeds. With these resized heights stored, Embed Optimizer sets the appropriate height on the container FIGURE element as the viewport-specific min-height so that when the embed loads it does not cause a layout shift.

Since Optimization Detective relies on page visits to learn how the page is laid out, you’ll need to wait until you have visits from a mobile and desktop device to start seeing optimizations applied. Also, note that Optimization Detective does not apply optimizations by default for logged-in admin users.

Please note that the optimizations are intended to apply to Embed blocks. So if you do not see optimizations applied, make sure that your embeds are not inside a Classic Block.

Your site must have the REST API accessible to unauthenticated frontend visitors since this is how metrics are collected about how a page should be optimized. There are currently no settings and no user interface for this plugin since it is designed to work without any configuration.

Installation

Installation from within WordPress

  1. Visit Plugins > Add New.
  2. Search for Embed Optimizer.
  3. Install and activate the Embed Optimizer plugin.

Manual installation

  1. Upload the entire embed-optimizer folder to the /wp-content/plugins/ directory.
  2. Visit Plugins.
  3. Activate the Embed Optimizer plugin.

Frequently asked questions

Where can I submit my plugin feedback?

Feedback is encouraged and much appreciated, especially since this plugin may contain future WordPress core features. If you have suggestions or requests for new features, you can submit them as an issue in the WordPress Performance Team’s GitHub repository. If you need help with troubleshooting or have a question about the plugin, please create a new topic on our support forum.

Where can I report security bugs?

The Performance team and WordPress community take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions. To report a security issue, please visit the WordPress HackerOne program.

How can I contribute to the plugin?

Contributions are always welcome! Learn more about how to get involved in the Core Performance Team Handbook. The plugin source code is located in the WordPress/performance repo on GitHub.

Changelog

1.0.0-beta6

Enhancements

  • Add declare( strict_types = 1 ) to all PHP files. (2424)
  • Bump minimum required WordPress version to 6.9. (2517)
  • Bump minimum required PHP version from 7.2 to 7.4. (2469)
  • Improve code quality with native property types and stricter static analysis. (1729)

1.0.0-beta5

Bug Fixes

  • Switch initial viewport embeds from preconnect to dns-prefetch links. (2256)

1.0.0-beta4

Security

  • Add escaping for ID selector in styles added to reduce layout shifts. This fixes an XSS security vulnerability which required an authenticated user with at least a contributor role. Props to duc193 for responsible disclosure. (2397)

1.0.0-beta3

Enhancements

  • Add URL Metric mutation helpers to extension initialization API. (1951)
  • Improve construction of inline scripts with sourceURL, hardened JSON encoding, and exporting JSON in separate script. (2169)

1.0.0-beta2

Enhancements

  • Update OD_HTML_Tag_Processor::next_tag() to allow $query arg and prepare to skip visiting tag closers by default. (1872)
  • Expose the logging functions to client-side extensions and automatically account for the value of isDebug. (1895)

1.0.0-beta1

Enhancements

  • Bump version to 1.0.0-beta1 to indicate graduation from being experimental. See 1846.
  • Use CSS range syntax in media queries. (1833)

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Embed Optimizer alternatives

All Embeds plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
2 Disable Embeds Disable Embeds Don’t like the enhanced embeds in WordPress 4.4? Easily disable the feature using this… by Pascal Birchler 10K+ ★★★★★★★★★★ 4.3 (20) 1 month ago 83
3 Simple Like Page – Fast & Privacy-Friendly Page Embeds Simple Like Page – Fast & Privacy-Friendly Page Embeds Embed Meta™ Page content without slowing down your site or loading third-party scripts… by topdevs.net 10K+ ★★★★★★★★★★ 4.3 (24) 5 months ago 65
4 Responsive Video Embeds Responsive Video Embeds Automatically resize WordPress auto-embeds, including video and other iframes, in a… by Kevin Leary 2K+ ★★★★★★★★★★ 3.9 (21) 9 years ago 40
5 Responsive Videos by Angie Makes Responsive Videos by Angie Makes Simple responsive video plugin. Automatically determine aspect ratio. CSS only. No… by Chris Baldelomar 600+ ★★★★★★★★★★ 4.6 (10) 9 years ago 37
6 MoonClerk WP Shortcode MoonClerk WP Shortcode Accept recurring payments and one-time payments on your WordPress website by embedding… by MoonClerk 100+ ★★★★★★★★★★ 5 (1) 5 years ago 32
7 Disable Video Download Disable Video Download Este plugin desactiva la opción "Guardar vídeo como..." en los vídeos embebidos en tu sitio… by Jairo Cortés 100+ ★★★★★★★★★★ 5 (1) 4 years ago 32
8 Embed Piwigo Embed Piwigo The Embed Pwigo plugin adds support for embedding photos from whitelisted Piwigo websites. by samwilson 100+ ★★★★★★★★★★ 5 (3) 8 years ago 32
9 Forward: Embed Image Links Forward: Embed Image Links Automatically turn direct image URLs into embedded images in posts, pages, bbPress content… by Forlæns 100+ ★★★★★★★★★★ 5 (3) 1 month ago 75
10 Pym.js Embeds Pym.js Embeds A WordPress block and shortcode for embedding iframes that are responsive horizontally and… by Automattic 100+ ★★★★★★★★★★ No reviews 5 months ago 40
11 Linkz.ai – Automatic link previews on hover Linkz.ai – Automatic link previews on hover Automatic link previews on hover. Show videos, articles, presentations and 1000+ embeds… by Vittorio - Linkz.ai 70+ ★★★★★★★★★★ 5 (3) 4 months ago 60

FAQ

Embed Optimizer: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Sep 26, 2026

Is Embed Optimizer free?

Yes. Embed Optimizer is free to download and use from the official WordPress.org plugin directory.

Is Embed Optimizer safe to use in 2026?

Embed Optimizer is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50K+ sites, is rated 3/5 and was last updated 1 month ago, and scores 71/100 on our health check.

How many websites use Embed Optimizer?

Embed Optimizer is active on 50K+ WordPress websites and has been downloaded 421,414 times since it launched in March 2024. It was downloaded 23,181 times in the last 30 days.

Does Embed Optimizer work with WordPress 7.1?

Yes. The developer has tested Embed Optimizer up to WordPress 7.1.2, the latest release. It requires WordPress 6.9 or newer.

What PHP version does Embed Optimizer need?

Embed Optimizer requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Embed Optimizer last updated?

The latest version, 1.0.0-beta6, was released on August 26, 2026 (1 month ago).

Who makes Embed Optimizer?

Embed Optimizer is developed and maintained by WordPress Performance Team.

What are the best alternatives to Embed Optimizer?

The most popular alternatives to Embed Optimizer are Disable Embeds (10K+ installs), Simple Like Page (10K+ installs) and Responsive Video Embeds (2K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.