Hey guys, I have a YouTube embed video on the home page, when the play icon is clicked, it opens a popup using interactions.
When I pull the website through PageSpeedInsights I get a really bad mobile score of round 25-30 and the main issue is “Reduce Unused Javascript” where I get the embed JS, but it’s being used, just not on first load.
It’s an iframe in a Embed block.
I followed this tutorial to defer the scripts but nothing changed.
I checked the whole forum but I didn’t find any topic similar to mine.
If you can tolerate a double click to play just use a lightbox with a video. Your page speed will dramatically increase! There are custom code methods you can explore as well.