This is a Google Chrome Extension that appends a Spotify Play Button to the website you are browsing if it detects references to tracks, albums or artists that exist on Spotify.
The extension only tries to fetch a Spotify Play Button when it makes sure the displayed content refers to a potential music item, thus avoiding making a large amount of requests, keeping a fast browsing experience. The SPB control is injected in the page in a suitable area, depending on the website.
You can install Extendify from the Chrome Web Store to give it a try.
This is a screenshot of the extension in action:
So far it supports the following websites:
It works with any track, album or artist page.
- Album page (i.e. B'Day Deluxe Edition by Beyoncé)
- Track page (i.e. Single Ladies (Put A Ring On It) by Beyoncé)
Items under Music category.
It works with any link pointing to https://open.spotify.com or https://play.spotify.com that belongs to a track, album or playlist
It works with search results for artist, album or tracks.
- Artist search results (i.e. "Lady Gaga")
- Artist search results, and then navigation to a song (i.e. "Lady Gaga - Telephone")
It supports album download pages:
Articles on Wikipedia in English about albums or tracks.
Videos of tracks
On Google Chrome, open the Extensions page (chrome://chrome/extensions/) and enable Developer Mode. Then, click on "Load unpacked extension..." and select the folder where you have deployed the source code.
The extension relies heavily on the DOM structure of the supported sites. When these change, the extension could stop detecting the placeholders for the key information (album name, track name and artist name).
This extension was built during the Music Hack Day 2013 in Stockholm by @jmperezperez and @aandelkovic.