Experiencing a 401 Unauthorized Error During Update?

If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here( onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.

No bug JCHoptimize of iframes thwarts ochFitvids

Meer
3 jaren 10 maanden geleden - 3 jaren 10 maanden geleden #1482 door Tim Davis
JCHoptimize of iframes thwarts ochFitvids werd gestart door Tim Davis
Hi Ruud,

I have discovered that when JCHoptimize is set to lazy load iframes, och Fitvids does not work. Just letting you know.

Here is a sample iframe code with JCH lazyload fingerprints on it:
Code:
<div class="responsive-video"><iframe class="jch-lazyload" src="about:blank" data-src="https://www.youtube.com/embed/e9yE7ZyNUDs" width="560" height="315" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>
Laatst bewerkt 3 jaren 10 maanden geleden door Tim Davis.

Graag Inloggen deelnemen aan het gesprek.

Meer
3 jaren 10 maanden geleden #1484 door Ruud van Lent
Beantwoord door Ruud van Lent in topic JCHoptimize of iframes thwarts ochFitvids
Hi Tim,
JCH is known (at least for me) to rule the web as they are the only extension installed. When there are issues with extensions / plugins first question i ask is always is JCH Optimize installed: if yes, turn it off and see if that fixes the issue.

That said: What I see in the iframe code you provided, JCH is using a very 'old fashioned' lazyloading via a javascript. There are currently lazy loading standards introduced in all (modern) browsers that do not break the web.

JCH Optimize breaks the iframe by removing the src attribute. by doing that the iFrame cannot load because there is nothing to load. When the broken iFrame comes into to view, JCH repairs the iFrame by re-adding the src attribute.

Long ago, that was a very tricky lazy loading implementation. Since then the world has moved on and lazy loading is now a browser standard. You can simply add the loading="lazy" attribute to any iFrame and the browser will handle it as such.
like this:
Code:
<iframe src="video-player.html" title="..." loading="lazy"></iframe>

ochFitVids requires a intact iFrame as a broken iFrame is no iFrame :)

Graag Inloggen deelnemen aan het gesprek.

Meer
3 jaren 10 maanden geleden #1488 door Ruud van Lent
Beantwoord door Ruud van Lent in topic JCHoptimize of iframes thwarts ochFitvids
Maybe I can have ochFitVids set the loading='lazy' element on iFrames it finds and processes. That way you have optimum sized videos AND lay loading conform latest standards (which Google likes as this is a standard I believe they introduced, or took part in).

Graag Inloggen deelnemen aan het gesprek.