Discovery Gaming Community

Full Version: Spotify Plugin?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I think I've seen a Spotify plugin for forums before. At least for websites. Is it possible? It'd be pretty dope Smile
Yes, Please. I use Youtube less and less for music these days.
But Apple Music is way better
As someone who uses Google Music.. Yes.
Could be interesting.
Spotify has a builder for widgets, makes this rather easy.

Try something like this:
Code:
\[spotify\](.*?)\[/spotify\]
<iframe src="$1" width="300" height="80" frameborder="1" allowtransparency="true"></iframe>

We'd then do: [spotify]https://open.spotify.com/track/4itcO1xCYnwkxsuEBsnaoL[/spotify]

Tested it on my VPS and seems fine.
That code is an utterly insane thing to allow on the forums.
Ah, the old blowing your leg off with a shotgun to stop an itchy mosquito bite trick.
There is a safer version that could be used without such a massive security risk, but still, an external-login-required embedded part of posts? no thanks
Quote:\[spotify\](.*?)\[/spotify\]

i WILL stab you