WordPress plugin intelligence profile

Load Video On Click

Videos will not worse anymore the performance if they load only after clicking on the play button.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version0.0.5
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 4.6 · PHP 5.6
Directory statusactive
Last directory update1 Oct 20261mo ago
Active installations100Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Load Video On Click version 0.0.5 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

Videos will not worse anymore the performance if they load only after clicking on the play button.

How to load videos on click

  • Install and activate Load Video On Click
  • Embed the videos using the shortcode [load_video_on_click] (see below) or by activating the switch “Load on click” of the Video and Embed blocks (in case of Gutenberg)

Integrations

You can always add the provided shortcode, no matter which builder you are using. However, the actual version provides a full integration with the following builders (no need for the shortcode):

##

  • WPBakery
  • Gutenberg

Shortcode

Shortcode name: load_video_on_click

Shortcode parameters:

  • link: Video URL
  • el_id: ID for custom CSS
  • el_aspect: video aspect ratio
  • el_class: class for custom CSS
  • image_placeholder: Image to be loaded instead of the video. You can use the ID or the URL of the image.
  • load_on_click: Set on to load the video only after clicking on the button, or off to load it on page loading

Shortcode example:

v=AQ3FoNHC6SU” image_placeholder=”356″]

IF you embed a Youtube video and don’t set the image placeholder parameter, the plugin will get it directly from Youtube.

For the other video providers or if you self host the video file, you need to set the parameter image_placeholder, in another case people will only see a play button before loading the video.

Gutenberg

If you use Gutenberg, the blocks Embed and Video will have the switch “Load on click”. Activate that switch to load the embedded video after clicking on the play button.

Don’t forget to set a Poster Image. It will be taken as placeholder before starting the video.

Help

For any question or if something doesn’t work, don’t hesitate to open a thread on the support forum.

Backend Speed Optimization

Is your dashboard slow? We optimize admin performance by improving queries and reducing plugin load.

Read Backend Speed Optimization Service for more information.

For developers

Filter hooks

‘load_video_on_click_for_blocks’

It enables/disables the loading on click for existing videos added with the Video and Embed blocks (Gutenberg).

Example:

add_filter( 'load_video_on_click_for_blocks','__return_true' ); //It enables the loading on click for all videos added with the Video and Embed blocks

‘load_video_on_click_image_placeholder’

You can use it to replace the image placeholder.

Example:

== strpos( $url,'yout' ) ){ //Same image placeholder for all Youtube videos return wp_get_attachment_url( 2009 ); } return $url; },2,20 );

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • performace
  • video
  • videos
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 4.6 · PHP 5.6
Update activity1 Oct 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

WordPress compatibility7.0.47.1.2
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.