lundi 30 novembre 2015

Wordpress youtube JS on load blocks loading time

Ok so its finally my turn to make a post: Right now I have a theme with youtube slider, fact is the youtube slider has 12 videos, and that makes the website load in about 10-12 seconds, which is crazy as hell. Now looking simply at GTmetrix I have realized even tho its only pictures that open the videos on-click (you know, after you click that funny youtube video and it starts playing), youtube loads around 1MB of JS at page load per video in the slider, all at once. Imagine my surprise realizing I have extra 12MB on page load... from outer source that is not even my server. Long story short, is there any NORMAL plugin, that can show on a page 12 videos, while only loading 1 video per time, after page load, without downloading the entire 1MB of crazyness as outer source from youtube, but just showing a picture and then just on-click downloading those sources?

PLEASE SAVE ME? You'll get cookies



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire