When we first started our site we had a youtube video on the home page. Designed in Pagefly. They use their own widget to embed videos and they do not use the embed code.
This video was slowing down our page greatly so we removed it. Now the remnants of the code remain and are still slowing our page a great deal (though not as much as the full youtube video).
Here is the code from inspector:
script id=“www-widgetapi-script” type=“text/javascript” src=“https://www.youtube.com/s/player/cb886c6c/www-widgetapi.vflset/www-widgetapi.js”
It is by far the biggest element on our lighthouse treemap, so yeah, it’s important.
How can we remove this?