Allow lazy loading thumbnail

Created on 13 April 2024, 8 months ago
Updated 2 September 2024, 4 months ago

Problem/Motivation

Specially to defer offscreen images, we would like to allow lazy loading of downloaded thumbnail image.

Steps to reproduce

N/A

Proposed resolution

- Provide "Lazy load image" checkbox as third party settings for Thumbnail (video_embed_field_thumbnail) formatter.
- While rendering thumbnail we add 'loading' attribute to the thumbnail image

Remaining tasks

Providing the patch, we need reviews moving forward.

User interface changes

API changes

N/A

Data model changes

N/A

Feature request
Status

RTBC

Version

2.0

Component

Video Embed Field (base module)

Created by

🇪🇸Spain purushotam.rai

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024