Better Youtube Embed Block

Description

The default embed block for youtube videos sucks. It slows down your site. The more videos on the page the more it slow. This single-block plugin fixes that.

Why this block is better than the default one:

  • Instead of loading the entire iframe, only the video thumbnail is loaded, resulting in significant performance improvements
  • Automatically load the video title as the caption
  • The same UI as the default core/embed, and you can use the video title as the caption of the block with one click
  • It can be transformed from/to the core embed block.

Please check out this page to see how fast it helps. The page contains around 30 embedded Youtube videos but they don’t slow down the page.

Please check out my other plugins if you’re interested:

  • Content Blocks Builder – A tool to create blocks, patterns or variations easily for your site directly on the Block Editor.
  • Meta Field Block – A block to display a meta field or an ACF field as a block. It can also be used in the Query Loop block.
  • Block Enhancements – A plugin to add more useful features to blocks likes: icons, box-shadow, transform…
  • Icon Separator – A tiny block just like the core/separator block but with the ability to add an icon to it.
  • SVG Block – A block to insert inline SVG images easily and safely. It also bundles with more than 3000 icons and some common non-rectangular dividers.
  • Counting Number Block – A block to display a number that has the number-counting effect.
  • Breadcrumb Block – A simple breadcrumb trail block that supports JSON-LD structured data.

The plugin is developed using @wordpress/create-block.

Blocks

This plugin provides 1 block.

  • Better Youtube Video Block Embed Youtube video without slowing down your site.

Installation

  1. Upload the plugin files to the /wp-content/plugins/better-youtube-embed-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

FAQ

What problem does this plugin solve?

It fixes the performance issue from the default embed block for youtube videos.

Who needs this plugin?

Anyone can use this plugin.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Better Youtube Embed Block” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Release Date 23 Nov 2022