# Bower install plugin of lazysizes

**URL:** https://discourse.roots.io/t/bower-install-plugin-of-lazysizes/11420
**Category:** sage
**Tags:** sage8
**Created:** 2018-01-24T17:47:11Z
**Posts:** 4

## Post 1 by @mattia — 2018-01-24T17:47:11Z

I installed lazysizes via bower running “bower install lazysizes --save” and everything was ok.

now I would like to add also an internal plugin of lazysizes.  
I can see the “plugins” folder inside the “bower\_components/lazysizes” folder, as you can see from here [https://github.com/aFarkas/lazysizes](https://github.com/aFarkas/lazysizes)

How can I include for example the “video-embed” plugin in my project?

is there a bower command to install also the plugins of a package or I have to do manually?

if yes, what are the steps that I have to follow?

Thanks for your support!

---

## Post 2 by @Twansparant — 2018-01-24T19:21:31Z

Try and add this to your **bower.json** :

```
"overrides": {
    "lazysizes": {
      "main": [
        "lazysizes.js",
        "lazysizes/plugins/video-embed/ls.video-embed.js"
      ]
    }
  }
```

---

## Post 3 by @mattia — 2018-01-29T11:21:32Z

thanks @Twansparant, unfortunately it seems doesn’t work.  
I added this code to bower.json and run again gulp.  
I checked the script (dist/scripts/main.js) and I can’t see the code of ls.video-embed.js

is there something else that I can try?  
the path that you wrote seems correct

thanks

---

## Post 4 by @mattia — 2018-01-29T12:02:30Z

solved, there was a problem with the path.

this is correct:

```
"overrides": {
     "lazysizes": {
          "main": [
              "lazysizes.js",
              "plugins/video-embed/ls.video-embed.js"
          ]
   }
```

}
