Announcements

Help Wizard

Step 1

NEXT STEP

Find out whether Spotify is installed using JavaScript

Find out whether Spotify is installed using JavaScript

Hi all!

I'm not exactly submitting a new Idea to implement, but asking for help. I'm posting this here because this doesn't quite fit into any other area, too.

 

I'd like to show some Spotify stuff on my website, such as a link to my profile and my favorite playlists.

I'd like these links to open in the Spotify client if it is installed, but if it is not, they should point to the open.spotify.com server.

Also, I'd like to put some play buttons that launch a track if clicked and which are invisible or grayed out if Spotify is not installed.

Is it possible to check whethere Spotify is installed using JavaScript or something, so I can change the behavior of these links accordingly?

 

Thanks in advance!

-Rapti

 

Reply
1 Reply

I've moved your topic over here in the "Help - Other" section, always a good place when you don't really know where a topic belongs. 😉

But unfortunately I can't really help you with the issue, but maybe someone else can help you here!

Suggested posts