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



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

100% secure payments
Available in:

Password: demodemo
Version: 1.0.1 (01/10/2018)


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="" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

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

Product Details

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

Customers who bought this product also bought:

PrestaShop Experts Program
PrestaShop Web Agency

Certified E-commerce Web Agency® is among the first Prestashop Platinum-certified agencies in Italy and in Europe. We specialize in helping small and medium-sized businesses sell online.

Consulting and Assistance

You can rely on our digital agency for advice or resolution of issues related to your online store or company website. 

Assistance | Check-UP | Hosting PrestaShop

Product added to wishlist