Embed code not working in Worpress widgets

Solved!
Reply

Embed code not working in Worpress widgets

Pontik
Regular

Plan

Free

Country

Costa Rica but it is affecting worldwide

Device

All

Operating System

Windows, Android to the extent I could check

 

My Question or Issue

Trying to embed my playlist in a widget on wordpress
https://open.spotify.com/user/nb9zbd3num3x193bey7azzi71/playlist/62hW4pL72DYINuOnSFP0OW but keep getting error.

This was working before

You can see the error on https://pontik.com on the right side sidebar

Talked to Dreamhost CS and they told me this:

 Hmmm.. From what I am seeing, it looks like something with the code, but I am not completely sure. If the code works on shared hosting as-is, I would reach out to the plugin/script developer and ask them if there's an issue with it working on a server with server-side caching. That's really the only thing I can think of that would possibly cause an issue.

1 ACCEPTED SOLUTION

Accepted Solutions
Solution!

Re: Embed code not working in Worpress widgets

Hubo
Rock Star 16
Rock Star 16

Hey @Pontik, thanks for coming to the Developers board for help!

Hmm, I've taken a look at the code on the website. Could you try using this code to embed the playlist:

<iframe src="https://open.spotify.com/embed/playlist/62hW4pL72DYINuOnSFP0OW" width="300" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>

That might help here! Let me know how you get on!

 

Have a good one,

Hubo

HuboRock Star 16
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.

View solution in original post

3 Replies

Re: Embed code not working in Worpress widgets

Pontik
Regular
Strangely enough it is working in a subdomain https://radio.pontik.com Both sites have the same theme and plugins
Solution!

Re: Embed code not working in Worpress widgets

Hubo
Rock Star 16
Rock Star 16

Hey @Pontik, thanks for coming to the Developers board for help!

Hmm, I've taken a look at the code on the website. Could you try using this code to embed the playlist:

<iframe src="https://open.spotify.com/embed/playlist/62hW4pL72DYINuOnSFP0OW" width="300" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>

That might help here! Let me know how you get on!

 

Have a good one,

Hubo

HuboRock Star 16
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.

View solution in original post

Re: Embed code not working in Worpress widgets

Pontik
Regular
Yes that fixed it thanks
SUGGESTED POSTS