Native lazy loading

Created on 12 May 2023, over 1 year ago

Problem/Motivation

Chrome now supports native lazy loading on iframes: https://web.dev/iframe-lazy-loading/

Steps to reproduce

Insert a YouTube video on a node and add display:none; on it.
The iframe is loaded even if not displayed.

Proposed resolution

video_embed_field should add a loading="lazy" attribute on iframes.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024