Light and Responsive YouTube Embeds
Light and Responsive YouTube Embeds
Light and Responsive YouTube Embeds
Light and Responsive YouTube Embeds

Light and Responsive YouTube Embeds

fastYoutube
€8.11

Our Light and Responsive YouTube Embeds module allows you to embed your videos without affecting the load time of your ecommerce in PrestaShop.

Available in:

User: demo@demo.com
Password: demodemo
Version: 1.0.1 (01/10/2018)

Description

Incorporating a YouTube video in PrestaShop is seemingly simple, just enable iframe support in HTML fields, but this leads to a noticeable increase in page load and a worsening of speed score . The browser must upload additional information to render the YouTube video player, even when the visitor does not view the embedded video. With consequent increase in web page load times and indexing penalization by search engines. Another drawback is that the YouTube embed code is not responsive and not suited, for example, with mobile devices.

Google+ uses intelligent technology to embed YouTube videos, incorporating just the video preview image and the player only when the user decides to view it.

To insert a similar feature in your ecommerce in PrestaShop, simply install and activate our Light and Responsive YouTube Embeds module and insert the following code into the HTML code where you wish to display your video:

<div class="youtube-player" data-id="VIDEO_ID"></div>

In place of the usual iframe:

<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Where VIDEO_ID is the id of the YouTube video you want to embed.

Product Details

Compatibility
Prestashop v. 1.6.X - v. 1.7.X

Customers who bought this product also bought:

 Customer ratings and reviews
Nobody has posted a review yet
in this language
 Reviews

Be the first to write your review !

Product added to wishlist