MyBB Community Forums
Spotify MyCode - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: MyCodes (https://community.mybb.com/forum-117.html)
+--- Thread: Spotify MyCode (/thread-120642.html)

Pages: 1 2


RE: Spotify MyCode - Cybers - 2016-01-23

(2016-01-23, 11:31 AM)Blackbeard Wrote: can someone post a preview please? main post image doesn't work.

[Image: IuE7sp1.png]

If you want to see in use pm me. You can also resize the frame.


RE: Spotify MyCode - Blackbeard - 2016-01-23

no need, thanks. Looks very nice!


RE: Spotify MyCode - JordanChava - 2018-09-09

Removed post?


RE: Spotify MyCode - .m. - 2018-09-09

^ not sure if the code is still valid - at present it is available through archive.org capture


RE: Spotify MyCode - Mixy - 2020-04-29

A small update

Title
spotify

Regular expression
\[spotify=(album|track|playlist)\](.*?)\[/spotify\]

Replacement
<iframe src="https://open.spotify.com/embed/$1/$2" width="300" height="80" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>

Examples
[spotify=track]3A9CyZ67l8GR6MRqNThS3s[/spotify]

[spotify=playlist]3cqyIkP2DDmWc5iExmbTld[/spotify]

[spotify=album]4Yv09HhX5L4fvlHHpTZ9UW[/spotify]

Result
[Image: image.png]


RE: Spotify MyCode - terzier - 2020-05-18

interesting tutorial. However, isn't spotify if not logged in, it only shows a preview of the song?