Anyone know how I can optimize a soundcloud player?

Anyone know how I can optimize a soundcloud player?

narothaudio
New Member
4 0 0

I tried setting the class as "lazyload" but soundcloud players are really slowing down my product pages. With them I get about a 40/100 and without about a 50/100. I definitely need more optimizing in general, but soundcloud right now is the biggest issue.

Reply 1 (1)

eStoreSpeed
Explorer
43 6 13

Hi @narothaudio,

For lazy loading the sound cloud player, you should be able to do something similar to lazy loading youtube videos here https://css-tricks.com/lazy-load-embedded-youtube-videos/ 

Basically initially load the sound cloud placeholder image and only when user clicks on placeholder does the sound cloud widget load and play. Should save a decent amount on your load time.

Best,

eStoreSpeedOptimization

Subscribe to Shopify speed improvement newsletter (we never spam)
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution