- Issue created by @nagy.balint
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.
Active
1.1
Code