How to get rid of multiple Youtube JS scripts?

How to get rid of multiple Youtube JS scripts?

stephaniel29
New Member
5 0 0

We only have one video on each page but for some reason pagespeed insights is running the base player and embed player 3 times, does anyone know how to get rid of that?

Screenshot 2023-05-22 at 1.40.26 PM.png

Replies 2 (2)

oreoorbitz
Shopify Partner
257 31 132

Share your store URL, every situation is diferent.

Available for pagespeed consulting
https://www.upwork.com/freelancers/~01a19b6cd90193f4f6?viewMode=1&s=1017484851352698949

Cedcommerce
Shopify Partner
718 76 113

Hello @stephaniel29,

 

Without proper analysis or specific information about the issue, it's challenging to pinpoint the exact cause of the issue. Share your store name and other details so we can look at the issue. 



One possible reason for the issue could be the import of the script files multiples time in the "theme.liquid" or in the file you have added the video. 



Feel free to ask for any further help with your Shopify store.

 

All the best, 

CedCommerce 

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here