Lazy loading on the iframe in the modal

Created on 1 July 2025, 3 days ago

I am not sure if this is the right approach, but I had the usecase where using remote video and youtube embed in the modal, the youtube scripts and video would load even though the modal was not opened yet.

This caused a pretty big hit in the pagespeed insight score.

I solved it with a patch to add loading lazy to the iframe, it works for me, but maybe there are some edge cases where it is not ideal.

Feature request
Status

Active

Version

1.1

Component

Code

Created by

🇭🇺Hungary nagy.balint

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

Comments & Activities

Production build 0.71.5 2024