DEV Community

Discussion on: Lazy load embedded YouTube videos

Collapse
 
doveranalyst profile image
RJ Mrunmayee • Edited

My God you're a lifesaver! Just implemented this on doveranalyst/p/videos.html
A quick solution for the playlist embed not working was to replace ?rel=0 with &rel=0.
Added modest branding also.
Looks delicious on desktop version.
But on mobile version a bright blue play icon comes.
Is there any way to have same white dupe you created in style to show on mobile chrome?
And is there any way we can have this style for the play and image placement done only once?
God bless ya.
I was tired of JavaScript making page load so bad.
My page speed score changed from 30 to 70 google page insights after this change🤩🤩🤩