Today I Learned - Rocky Kev

TIL The Media Engagement Index

POSTED ON:

TAGS:

Google Chrome changed the way autoplay works.
(Where Safari outrights stops it.)

When you first visit a site, video doesn't autoplay.
But sometimes, it does.

Why?

There's a few reasons.

  1. If the user interacts with the domain. (click, tap, etc)
  2. On desktop, if the Media Engagement Index (MEI) threshold has been crossed.
  3. If the user adds the site to their homescreen on mobile, or installed it as a PWA on desktop.

What is Media Engagement Index (MEI)
The MEI measures an individual's propensity to consume media on a site. Chrome's current approach is a ratio of visits to significant media playback events per origin:

REF:
https://developers.google.com/web/updates/2017/09/autoplay-policy-changes


Related TILs

Tagged:

TIL IndexNow

IndexNow is an open-source protocol that allows website publishers to instantly index across participating search engines, updating results based upon the latest content changes.

TIL lighthouse scores are simulations, not real world

So if you run Lighthouse on your high-powered developer machine and get great scores, that may not be reflective of what the users experience in the real world, and so what Google will use to measure your website user experience.

TIL using code-splitting to improve your First Contentful Paint (FCP) score

Code splitting is a technique where you send only the necessary modules to the user in the beginning.