Switch between Spotify and Youtube playback from a single web-page.
Play directly plays the song while QPlay adds
it to the queue and jumps to it (assuming queue was empty before).
Play start the Youtube video and stops Spotify.
When video ends or when you close it, Spotify playback will resume what it was playing before (assuming the device did not go offline).
Youtube videos are played on this page and Spotify plays from your active device. When no device is active,
Spotify plays directly from here. As it gives no playback controls and does not work at all with Chrome, a real player
such as open.spotify.com is often prefered.
Code hosted on GitHub.
Spotify icon by Icons8.