How to Lazyload any src object in node body Currently using Blazy on Drupal 8. What I am trying to do is figure out how to lazyload any image, iframe, mp4 found in the body.

I think I have found a good solution as seen here:
https://www.drupal.org/project/blazy/issues/2912992

But how do I implement it. I am stuck at step 4.
I think he means to add this to mytheme.theme

/**
 * Implements hook_page_attachments_alter()
 */

function MYTHEME_page_attachments_alter(array &amp;$attachments) {
    $attachments['#attached']['library'][] = 'blazy/load';
}