This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Better Core Video Embeds

Beskrywing

This plugin provides page optimisations for pages and posts which have embedded Youtube, Vimeo or Daily Motion videos which have been added using the core embed block.

Without this plugin, when using the core embed block, when your page loads, lots of external scripts and styles are loaded from the embed service, regardless of whether a visitor actually interacts with the embedded video.

This plugin prevents these scripts and styles from loading until the user actually interacts with the video. It does this by replacing the video embed, on page load with the video thumbnail image (added on Youtube, Vimeo or Daily Motion). When a user clicks the thumbnail the embedded video, along with associated scripts and styles are loaded.

Installation

  1. Log into WordPress
  2. Go to Plugins, Add New
  3. Search for Better Core Video Embeds
  4. Click Install Now, then Activate
  5. Embed a Youtube and Vimeo videos into your posts as you would normally using an embed block, or just pasting the video URL into the editor.

Kwel-vrae

What does the plugin actually do?

It filters the embed block output to prevent Youtube and Vimeo scripts be loaded on the page until a users clicks to watch a video. It does this my replacing the normal embed markup with a video thumbnail image. When the user clicks on the image, the embedded video is called.

What happens to my videos if I stop using this plugin?

The plugin provides progressive enhancement, therefore if you no longer use this plugin, your embedded videos will revert back to the default WordPress behaviour.

Aanbevelings

November 16, 2023
I've used this since I first became aware of it and it does everything it should really well. Support is prompt also. Very happy.
Februarie 27, 2023
This is an example of an excellent plugin. Just activate and get immediate enhancement when using the embed blocks from WordPress. If deactivated, everything still works as before, but then without the enhancement. No "lock in":
Januarie 8, 2023 2 replies
Been struggling with the no-cookie YouTube videos for my blogs with 2000+ posts since last summer bc of GDPR and other privacy concerns.This plugin solves everything in 1 quick install: replaces videos by an image (better loading times), adds no-cookie YT to oEmbeds. My problem's solved! THX.
Desember 2, 2022 1 reply
The plugin does exactly what it says it does and works wonderfully. Rather than reinventing the wheel or requiring another block with duplicate functionality, it simply enhances the core block to make it better. It's a pattern I hope other block developers follow in the future.
Read all 5 reviews

Contributors & Developers

“Better Core Video Embeds” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:

Contributors

“Better Core Video Embeds” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Better Core Video Embeds” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.3 (21/01/2023)

  • Ensure the plugin works on videos embedded from the www or no www version of a domain e.g. www.youtube.com and youtube.com.
  • Output an alt attribute on the video thumbnail image.
  • Correct the name of the Daily Motion thumbnail output filter.

1.1.2 (18/01/2023)

  • Allow HTML allowed in a caption to be used with videos. Previously HTML was stripped from the caption.
  • Ensure that any links added to embed captions are clickable.

1.1.1 (20/12/2022)

  • Fixed a bug where the

<

figcaption> element was removed when the video thumbnail was clicked.

1.1 (29/11/2022)

  • Updated a bug where the CSS was not loading for some users.
  • Added support for Daily Motion videos
  • Enqueued the stylesheet using the standard wp_enqueue_style function rather than using print styles
  • Improved the way the thumbnail markup is output, making this more extensible and easier for developers to modify
  • Added support for the embed caption to show beneath the thumbnail image
  • Adds the embed provider slug as a class on the thumbnail wrapper

1.0 (23/11/2022)

  • Initial plugin launch added to the WP.org repository.