Jump to content

Reducing YouTube embedding size


Mark Whitmore

Recommended Posts

I've found the following method which reduces the JS load (almost 1.1mb) needed by the media player when a YouTube video is embedded on a listing page: https://www.labnol.org/internet/light-youtube-embeds/27941/

This method replaces the player with a thumbnail and only loads the player when the thumbnail is clicked. This will be hugely beneficial to load times in my opinion. 

Could anyone walk me through how to install this? I've attempted to do this but I cannot find mention of the player in any .thtml files. Alejandro, any plans to implement this in future versions?

Link to comment
×
×
  • Create New...