Currently loading videos during a page load increases load time. It would be great if there was an option to lazy load in the these videos after the page is loaded. End results would be an increased page speed.
Currently loading videos during a page load increases load time. It would be great if there was an option to lazy load in the these videos after the page is loaded. End results would be an increased page speed.
Comments
Comment #2
patoshi commentedI updated the oembed.tpl.php with a preg_replace() to add in an extra youtube parameter that loads the youtube related js files only when you click on play.
More info here: http://drupal.stackexchange.com/questions/201632/drupal-7-oembed-video-m...
I'm sure there is a better way of doing this instead of doing a preg_replace()
Comment #3
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.