Virtually loads all the scripts and iframes on the page
Hi @elevas33,
Could you post your URL so we can have a look?
regards Aert
This url had got some video iframes thank u very much!!!
https://bit.ly/377CED0
Hi @elevas33,
I ran the first scan, with your current situation; https://tools.pingdom.com/#5d4a23e6a7c00000
Could you enable Complianz, and YouTube integration?
This way I can see the difference. When Complianz blocks YouTube and then enables YouTube after consent it can be compared to Lazy Loading, as YouTube waits for consent.
Let me know when I can run a new test, regards Aert
Hello good morning but I’m supposed to have it already integrated, and if not, where can I integrate youtube in complianz?
Hi @elevas33,
It’s under Complianz – Integrations – Services – YouTube
regards Aert
Hello again, I had it activated and that’s when the user is asked to accept the consent when watching the video. So far so good, The problem is that all the videos are loaded at once once once the user accepts the cookies so the a3 lazy load plugin does not do its function of loading videos as they are visible by the user.
Next I will leave you 2 photos where you can see as in the first load all the videos if you activate the integration of Youtube in Complianz occupying the page 13.6 Megas.
Pic—>https://ibb.co/qRmc0S0
In the second shot I have disabled the YouTube integration service of Complianz and now the A3 Lazy Load plugin loads the videos in a deferred way (they are loaded to measures that are scrolled and are visible by the user) so the page only weighs 1.9 megs and will grow as it is scrolled and the videos are appearing.
Pic—>https://ibb.co/kDvxgFZ
I would like you to add the possibility that with the youtube service active at the time the user accepts the Cookies the videos are loaded so that they only appear when they are visible by the user. Thank you very much.
-
This reply was modified 2 years, 7 months ago by
Gruskel.
-
This reply was modified 2 years, 7 months ago by
Gruskel.
Hi @elevas33,
To understand you correctly;
With Complianz enabled the resource count is better than with A3 Lazy Load plugin, if no consent is granted: 1.0mb vs 1.9mb
https://snipboard.io/LlqVYD.jpg
But after consent, the YouTube resources should continue with deferred loading? Which in essence does happen because all other scripts, except 3rd-party scripts, are loaded. Everything else is deferred after consent.
If you want to defer based per video, relative to the page scroll, we could ask A3 to have a look.
Let me know if understood correctly,
regards Aert
If that’s exactly what it is, the problem is that once it’s accepted it doesn’t continue with the deferred load, if you could contact A3 Lazy Load to give a solution between the 2 of you it would be great because surely it happens with all lazy load plugins…, when you have this fixed I will buy the plugin without hesitation the truth is very very good. Thank you very much.
Hi @elevas33,
FYI: we put lazy loading on our backlog. Lazy-loading and interrupting a video is a bit difficult, so we will focus on a universal solution.
regards Aert
Excellent news, but it would be a fix to make the plugin compatible with the Lazy Load? Or you would get your own Lazy Load in the plugin, I think the best would be a universal fix. Thanks.
Hi @elevas33,
We will strip the lazy loading before consent (an HTML attribute). This is because of some issues with lazy loading and showing the placeholders.
Because the videos are not loaded before consent, lazyload can be off without issues.
After consent, we will add lazy loading again, with the same attribute we stripped.
In essence, this would delay and lazy load the videos, which should optimize page speed as well.
We will run some tests and update as soon as we can.
regards Aert
Thank you very much for your support. The truth is that it is the best support of a plugin that I have had so it makes me want to buy the premium version which I will get for the first of the year. By the way, you have discount coupons ? I would like to get the biggest membership but it’s going to be cheaper. Greetings!
Hi @elevas33,
Per forum guidelines, we can’t discuss our premium plugin on WordPress.org. Please leave a message at complianz.io/contact/ regarding any questions for premium.
Thanks, and keep an eye on the changelog:-)
regards Aert
Thank you very much, you are great!