Remove Youtube Files

JohnDx
Tourist
12 0 2

Ok, so my page has a terrible loading speed due to youtube player. 

these are the scripts:

\

Unused JavaScripts

youtube.com file "base.js is taking around 600 KiB

www-embed-player.js (youtube again) 100 KiB

www-widgetapi.js ( yt) 50 KiB

 

Unused css

 

www-player.css (yt) 60 KiB

/

videos are placed in the description, i applied lazy loading to the embed code. And i used to have 

"waiting for youtube.com" on my loading description. but once i used lozad (Thanks for OpenThinking!)

Now it loads my url instead! but on any speed testing tool, shows that these codes should be removed,

are they just there because they came with the video player and were just not used and left aside? idk anything about coding, but im learning.

And i just wanted to know if these are important enough to make my website slower for.

if not, then how would i be able to remove them? especially base.js 600KiB is a bit to much.

thank you.

0 Likes
Pallavi
Shopify Expert
1732 252 307

Hello There,

Could you kindly DM me so that we can discuss further on it.
And else you can get connected with me on support@zestard.com so that I can assist you further in your requiremennt Thanks!

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
0 Likes
JohnDx
Tourist
12 0 2

I have sent you an email, hope you can help me with this, thank you!

 

0 Likes