Discovery Gaming Community
Spotify Plugin? - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Rules & Requests (https://discoverygc.com/forums/forumdisplay.php?fid=6)
+--- Forum: Site & Forum Feedback (https://discoverygc.com/forums/forumdisplay.php?fid=14)
+--- Thread: Spotify Plugin? (/showthread.php?tid=160648)



Spotify Plugin? - Lythrilux - 05-01-2018

I think I've seen a Spotify plugin for forums before. At least for websites. Is it possible? It'd be pretty dope Smile


RE: Spotify Plugin? - Nodoka Hanamura - 05-01-2018

Yes, Please. I use Youtube less and less for music these days.


RE: Spotify Plugin? - Hannibal - 05-01-2018

But Apple Music is way better


RE: Spotify Plugin? - Remnant - 05-01-2018

As someone who uses Google Music.. Yes.


RE: Spotify Plugin? - Durandal - 05-01-2018

Could be interesting.


RE: Spotify Plugin? - Laz - 05-01-2018

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.


RE: Spotify Plugin? - Alex. - 05-01-2018

That code is an utterly insane thing to allow on the forums.


RE: Spotify Plugin? - Kazinsal - 05-01-2018

Ah, the old blowing your leg off with a shotgun to stop an itchy mosquito bite trick.


RE: Spotify Plugin? - Alex. - 05-01-2018

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


RE: Spotify Plugin? - Corile - 05-01-2018

Quote:\[spotify\](.*?)\[/spotify\]

i WILL stab you