Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

WP YouTube Video Optimizer

Description

This plugin gives you the ability to optimize the YouTube videos on your website. By default if you use the direct embeded code in your website, then it downloads the YouTube player on every occurance of YouTube video.

This plugin show a video thumbnail to your viewer and loads the YouTube video only when user click on the play icon.

How does it work?

Untill the user click on the play button, the YouTube will not load on the website.

Short code Pattern:

[ib_youtube video="<video_id>" image="<image_placeholder_link>" width="640" height="360" thumbnail="maxresdefault"]

Example 1 – With Embed Link and Custom Banner:

[ib_youtube video="https://www.youtube.com/embed/ZfaqLBRP5Yo" image="http://example.com/image.jpg"]

Example 2 – With a normal YouTube watch link and no banner(Thumbnail generated automatically):

[ib_youtube video="https://www.youtube.com/watch?v=ZfaqLBRP5Yo"]

Example 3 – With customized width and height for your Video:

[ib_youtube video="https://www.youtube.com/watch?v=ZfaqLBRP5Yo" width="560" height="315"]

Parameters

– video (Required): You can use either YouTube video id or directly add the url.

– image (Optional): Full URL of the thumbnail url. By default it shows the thumbnail of the video.

– width (Optional): Width of the image/video. Default value is 640px.

– height (Optional): Height of the image/video. Default value is 360px.

– thumbnail (Optional): Manage the thumbnail of the video image. you can follow the instruction below to choose the size:

Each YouTube video has generated 4 images. They are predictably formatted as follows:

[ib_youtube video="<video_id>" thumbnail="0" height="360"] 
[ib_youtube video="<video_id>" thumbnail="1" height="360"]
[ib_youtube video="<video_id>" thumbnail="2" height="360"]
[ib_youtube video="<video_id>" thumbnail="3" height="360"]

You can also choose different sizes of the images:

Default Size: [ib_youtube video="<video_id>" thumbnail="default" height="360"]
SD quality: [ib_youtube video="<video_id>" thumbnail="sddefault" height="360"]
HD quality: [ib_youtube video="<video_id>" thumbnail="hqdefault" height="360"]
Medium quality: [ib_youtube video="<video_id>" thumbnail="mqdefault" height="360"]
Maximum resolution: [ib_youtube video="<video_id>" thumbnail="maxresdefault" height="360"]

Contributors
* This plugin was developed by Measure Marketing Results Inc..

Captures d’écran

  • Usage of shotcode
  • Hover effect

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Thats it! you can now use the shortcode to use this plugin.

FAQ

Installation Instructions
  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Thats it! you can now use the shortcode to use this plugin.

Avis

23 avril 2019
I am already using it on more than 20 sites. This plugin gave me the solution to optimize youtube videos which was making my speed score very bad. So i Really appriciate it and i would request to the author to bring some updates on it. Also needs an update with version compatibility. Thanks
9 août 2017 1 réponse
Used the shortcode correctly (just substituted Youtube URL and my own image URL. Doesn't display the image, and gives an error un video load. Pity the plugin doesn't work, was exactly what i was looking for.
Lire les 2 avis

Contributeurs/contributrices & développeurs/développeuses

« WP YouTube Video Optimizer » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Journal

1.2

  • Fix bugs

1.1

  • Major changes

1.0.3

  • Performance Optimization.

1.0.2

  • Removed Console logs.

1.0.0

  • Initial commit.