Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

loading=lazy breaks embed iframe

loading=lazy breaks embed iframe

Hi folks,

 

It is now possible for a lot of browsers to load iframes lazy (https://web.dev/iframe-lazy-loading/).

I tried this with the spotify embed iframe which kinda breaks it. It is still shown but there is no interaction possible. Getting this error in the console:

vendor~embed.4e2ebd18.js:1 Uncaught (in promise) DealerError: Cannot connect to dealer

 

The reason I want to use lazy loading is because the size of your embed script is quite large and it has a bad impact on SEO on my page, since it''s almost as big as the rest of the page...

 

Tried this with chrome on Mac.

 

Thank you.

Reply
1 Reply

Hey there,

Hope things are well! Let's see what might be happening here. Could you send over an example of a URL of a page where this is happening? Also, does the same thing happen with a different browser? Let me know how you get on!

Have a good one,
Hubo
HuboSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts