=== Optimize YouTube Video Embed === Contributors: adaptxy Donate link: Tags: youtube, embed, video, page speed, performance, woocommerce Requires at least: 3.0.1 Tested up to: 4.8 Stable tag: 1.1.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Optimise your page performance by showing an image with play button instead of YouTube video embed script. This could be achieved using a simple Short code. == Description == = Introduction = Avoid loading YouTube player each time your page loads which impacts performance. Using the shortcode provided by this plugin, a banner image with play button will be displayed instead of the YouTube video iframe. This improves the page load time. Only after clicking on the play button on the banner image, the embedded YouTube video will be loaded.

Short code Pattern: [eh_optimize_youtube_embed video="youtube_link" banner="banner_image_link_optional" width="560" height="315"]

Example 1 - With Embed Link and Custom Banner: [eh_optimize_youtube_embed video="https://www.youtube.com/embed/9bZkp7q19f0" banner="http://static.echonest.com/InfiniteGangnamStyle/psy.png"]

Example 2 - With a normal youtube watch link and no banner (a default banner will be displayed): [eh_optimize_youtube_embed video="https://www.youtube.com/watch?v=9bZkp7q19f0"]

Example 3 - With customized width and height for your Video: [eh_optimize_youtube_embed video="https://www.youtube.com/watch?v=9bZkp7q19f0" width="560" height="315"]

Discover the finest Wordpress WooCommerce Extensions - XAdapter.com.
= How does it work? = Clicking on the play button on the banner image, the embedded YouTube video will be loaded. Important Note: For mobile view need to tap twice as autoplay feature is not available in mobile devices. Please refer the documentation for more detailed help. = About AdaptXY = We are a group of WordPress and WooCommerce enthusiasts with a vision to solve genuine problems related to WordPress & WooCommerce stores. We offer a wide variety of extensions for WooCommerce. We have premium extensions related to many domains including Shipping, Pricing, Payments and Customer Support. == 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 configure the plugin. == Screenshots == 1. Optimize YouTube Video Embed == Changelog == = 1.1.2 = * Author field got updated. = 1.1.1 = * Content Updated for mobile view. * Tested Ok with WooCommerce 3.2. = 1.1.0 = * Support multiple video in single page * Fixed width is not taking properly = 1.0.6 = * Minor content update = 1.0.5 = * Path (URL) attrubute changed. = 1.0.4 = * option to set Width and Height. = 1.0.3 = * Minor Content Changed. = 1.0.2 = * Version Tested. = 1.0.1 = * Play Button Image Updated. = 1.0.0 = * Initial commit. == Upgrade Notice == = 1.1.2 = * Author field got updated. = 1.1.1 = * Content Updated for mobile view. * Tested Ok with WooCommerce 3.2. = 1.1.0 = * Support multiple video in single page * Fixed width is not taking properly = 1.0.6 = * Minor content update = 1.0.5 = * Path (URL) attrubute changed. = 1.0.4 = * option to set Width and Height. = 1.0.3 = * Minor Content Changed. = 1.0.2 = * Version Tested. = 1.0.1 = * Play Button Image Updated.