Light and Responsive YouTube Embeds

Manufacturer Arte e Informatica

fastYoutube

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

8,11 € tax excl.

9,90 € tax incl.

Data sheet

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

More info

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.

Recensioni

Siate il primo a fare una recensione !

Voti e valutazione clienti

Nessun cliente ha lasciato una valutazione
in questa lingua