{"id":185325,"date":"2024-05-31T16:18:32","date_gmt":"2024-05-31T16:18:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/enhanced-youtube-embed-block\/"},"modified":"2025-10-22T21:01:43","modified_gmt":"2025-10-22T21:01:43","slug":"enhanced-embed-block","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/enhanced-embed-block\/","author":3841226,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.1","stable_tag":"1.3.1","tested":"6.8.5","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Enhanced Embed Block for YouTube & Vimeo","header_author":"Mark Root-Wiley, MRW Web Design","header_description":"Faster YouTube embed blocks for a better user experience","assets_banners_color":"fdfdfd","last_updated":"2025-10-22 21:01:43","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/rootwiley","header_plugin_uri":"https:\/\/mrwweb.com\/wordpress-plugins\/enhanced-embed-block\/","header_author_uri":"https:\/\/MRWweb.com","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1828,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0-retry-github-action":{"tag":"1.0.0-retry-github-action","author":"mrwweb","date":"2024-06-11 16:21:43"},"1.1.0":{"tag":"1.1.0","author":"mrwweb","date":"2024-07-11 15:57:33"},"1.2.0":{"tag":"1.2.0","author":"mrwweb","date":"2025-05-14 19:45:36"},"1.2.1":{"tag":"1.2.1","author":"mrwweb","date":"2025-06-04 15:14:46"},"1.3.0":{"tag":"1.3.0","author":"mrwweb","date":"2025-10-07 22:57:57"},"1.3.1":{"tag":"1.3.1","author":"mrwweb","date":"2025-10-22 21:01:43"}},"upgrade_notice":{"1.3.0":"<p>Add support for block alignment (e.g. wide) and responsive block settings<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3101318,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3101318,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3382935,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/?page_id=5\",\"preferredVersions\":{\"php\":\"8.2\",\"wp\":\"latest\"},\"siteOptions\":{\"blogname\":\"Testing \\\"Enhanced Embed Block for YouTube & Vimeo\\\" plugin\"},\"login\":true,\"steps\":[{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"enhanced-embed-block\"},\"options\":{\"activate\":true}},{\"step\":\"importWxr\",\"file\":{\"resource\":\"url\",\"url\":\"https:\\\/\\\/ps.w.org\\\/enhanced-embed-block\\\/assets\\\/enhanced-embed-block-test-page.xml\"}},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"enhanced-embed-block\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":[],"tagged_versions":["1.0.0-retry-github-action","1.1.0","1.2.0","1.2.1","1.3.0","1.3.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,230,222,1609,1610],"plugin_category":[50,54,56],"plugin_contributors":[229509,79285],"plugin_business_model":[],"class_list":["post-185325","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-embed","plugin_tags-video","plugin_tags-vimeo","plugin_tags-youtube","plugin_category-media","plugin_category-security-and-spam-protection","plugin_category-social-and-sharing","plugin_contributors-cbirdsong","plugin_contributors-mrwweb","plugin_committers-mrwweb"],"banners":{"banner":"https:\/\/ps.w.org\/enhanced-embed-block\/assets\/banner-772x250.png?rev=3101318","banner_2x":"https:\/\/ps.w.org\/enhanced-embed-block\/assets\/banner-1544x500.png?rev=3101318","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/enhanced-embed-block_fdfdfd.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>If you care about performance, privacy, and user experience, this block is for you.<\/p>\n\n<p>This plugin enhances the default YouTube and Vimeo blocks\u2014including any existing blocks\u2014and changes their behavior to only load the video thumbnail until a visitor chooses to play the video.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Load YouTube videos faster (uses the <code>lite-youtube<\/code> custom-element)<\/li>\n<li>Load Vimeo videos faster (uses the <code>lite-viemo<\/code> custom-element)<\/li>\n<li>Loads YouTube videos from nocookie.youtube.com for enhanced privacy<\/li>\n<li>Works without JavaScript (shows link to video instead in a player-like design)<\/li>\n<li>No plugin lock-in! Automatically improves the core Embed block. Turn the plugin off and the behavior goes back to the WordPress default.<\/li>\n<\/ul>\n\n<h4>Want more features?<\/h4>\n\n<p>I'm considering building a PRO version with the potential following features:<\/p>\n\n<ul>\n<li>Options to set a custom start and end time<\/li>\n<li>Custom thumbnail images for videos<\/li>\n<li>Custom aspect ratios for videos<\/li>\n<li>Support for YouTube shorts<\/li>\n<li>Control whether to load video from nocookie.youtube.com or not<\/li>\n<li>Adjust the image quality of the thumbnail<\/li>\n<li>Support for playlists, not just single videos<\/li>\n<li>Full support for all YouTube query parameters (https:\/\/developers.google.com\/youtube\/player_parameters)<\/li>\n<li>Classic Editor \/ [embed] shortcode support<\/li>\n<\/ul>\n\n<p>If enough people express interest, I'll build it! <a href=\"https:\/\/mrwweb.com\/wordpress-plugins\/enhanced-embed-block\/#pro\">Let me know if you're interested!<\/a><\/p>\n\n<h4>Contribute on Github<\/h4>\n\n<p><a href=\"https:\/\/github.com\/mrwweb\/enhanced-embed-block\">Enhanced Embed Block is on Github<\/a> for pull requests and bug reports.<\/p>\n\n<h3>Software<\/h3>\n\n<p>This plugin uses the <a href=\"https:\/\/github.com\/justinribeiro\/lite-youtube\"><code>lite-youtube<\/code> custom-element<\/a> under the MIT license. Thank you to Paul Irish and Justin Ribiero for their work on that project.<\/p>\n\n<p>This plugin uses the <a href=\"https:\/\/github.com\/cshawaus\/lite-vimeo\"><code>lite-vimeo<\/code> custom-element<\/a> under the MIT license. Thank you to Chris Shaw for their work on that project.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>From your WordPress site\u2019s dashboard, go to Plugins &gt; Add New.<\/li>\n<li>Search for \u201cEnhanced Embed Block for YouTube and Vimeo\u201d<\/li>\n<li>Click \u201cInstall\u201d<\/li>\n<li>Click \u201cActivate\u201d<\/li>\n<li>That\u2019s it! You\u2019re done! There are no plugin settings and the enhancements immediately apply to all YouTube video embeds.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20create%20a%20new%20block%3F'><h3>Does this create a new block?<\/h3><\/dt>\n<dd><p>No. It enhances the default WordPress Embed block for YouTube and Vimeo videos.<\/p><\/dd>\n<dt id='does%20it%20automatically%20enhance%20all%20my%20youtube%20and%20vimeo%20embeds%3F'><h3>Does it automatically enhance all my YouTube and Vimeo embeds?<\/h3><\/dt>\n<dd><p>It works for any embeds using the YouTube or Vimeo variations of the Embed block. Embeds using the [embed] shortcode or a literal YouTube embed code in an HTML block are not enhanced. Using the core WordPress Embed block is highly recommended!<\/p><\/dd>\n<dt id='why%20don%27t%20google%20and%20vimeo%20load%20all%20their%20videos%20this%20way%20by%20default%3F'><h3>Why don't Google and Vimeo load all their videos this way by default?<\/h3><\/dt>\n<dd><p>Great question! It sure seems like they should. If I had to guess, they are prioritizing usage tracking over fast load times and privacy.<\/p><\/dd>\n<dt id='what%20happens%20if%20i%20deactivate%20the%20plugin%3F'><h3>What happens if I deactivate the plugin?<\/h3><\/dt>\n<dd><p>Your embed blocks go back to how they were before.<\/p><\/dd>\n<dt id='does%20this%20support%20the%20classic%20editor%20%2F%20the%20%5Bembed%5D%20shortcode%3F'><h3>Does this support the Classic Editor \/ the [embed] shortcode?<\/h3><\/dt>\n<dd><p>Not right now. If you'd pay for a PRO version with this feature, <a href=\"https:\/\/mrwweb.com\/wordpress-plugins\/enhanced-embed-block\/#pro\">let me know<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.1 (22 October 2025)<\/h4>\n\n<ul>\n<li>Adjust approach to managing default WordPress aspect ratio styles to avoid \"collapsed\" layouts in some themes<\/li>\n<\/ul>\n\n<h4>1.3.0 (7 October 2025)<\/h4>\n\n<ul>\n<li>Add missing block CSS classes (including custom ones, if provided)<\/li>\n<li>Fixes alignment support (wide, full, etc.)<\/li>\n<li>Improve responsive and aspect ratio behavior of blocks. For instance, old YouTube videos now correctly display with 4\/3 placeholder and video player!<\/li>\n<li>Update lite-youtube component to 1.8.2<\/li>\n<\/ul>\n\n<h4>1.2.1 (4 June 2025)<\/h4>\n\n<ul>\n<li>Fix unset array key warning<\/li>\n<li>Improve plugin demo content to include Vimeo examples<\/li>\n<\/ul>\n\n<h4>1.2.0 (14 May 2025)<\/h4>\n\n<ul>\n<li>Add support for Vimeo!<\/li>\n<li>Upgrade <code>lite-youtube<\/code> to 1.8.1 (includes new native support for fallback thumbnail formats and sizes)<\/li>\n<li>Further performance improvements to load script asynchronously and only load styles when needed<\/li>\n<li>Fix undefined $params fatal error when trying to extract time code from YouTube URLs<\/li>\n<li>Code quality improvements<\/li>\n<\/ul>\n\n<h4>1.1.0 (11 July 2024)<\/h4>\n\n<ul>\n<li>Fix missing file on WordPress.org version of plugin due to misconfigured Github deployment<\/li>\n<li>MAJOR CHANGE: The default poster image is now the highest quality possible. There is a new <code>eeb_posterquality<\/code> filter to change that, if desired. (#5)<\/li>\n<li>Add experimental patch to the <code>lite-youtube<\/code> web component that detects missing YouTube poster images and fallsback to different format \/ lower quality (#4)<\/li>\n<li>Add <code>!important<\/code> to all CSS styles to improve theme compatibility. Add custom properties to make color changes to fallback styles easier. (#8)<\/li>\n<li>Add <code>eeb_nocookie<\/code> filter to customize domain for loading the YouTube iframe (defaults to nocookie) (#7)<\/li>\n<li>Don't use lite-youtube embed in feeds (#9)<\/li>\n<li>Props to @cbirdsong for numerous issues on Github that led to most of these changes<\/li>\n<\/ul>\n\n<h4>1.0.0 (22 April 2024)<\/h4>\n\n<ul>\n<li>Initial release to the WordPress repository!<\/li>\n<\/ul>","raw_excerpt":"Enhance the default YouTube and Vimeo Embed blocks to load faster.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/185325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=185325"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mrwweb"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=185325"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=185325"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=185325"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=185325"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=185325"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=185325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}