#Low Lighthouse Performance Score
15 messages · Page 1 of 1 (latest)
I did
I've tried to use the astro youtube embed plugin, but when I try it no video appears
So what are you doing then?
Using the iframe embed that youtube provides when you click share --> embed
You can try the following
Basically look at the example code and specifically the srcdoc attribute
Oh, there's also just a loading="lazy" that exists on <iframe>, probably easier
That should negate most of the startup initial load
Unless the video is right in your face when you pull up the page, because then it will still be loaded
This worked perfect, thanks!
You can still try using srcdoc as outlined in the css-tricks page