[PCN] Spotify BBCode

[PCN] Spotify BBCode 1.2.0

No permission to download

JordanH

Well-known member
JordanH submitted a new resource:

Spotify BBCode - Add Spotify media to your website

Add a Spotify BB code to your forum. Allow your users to share media from Spotify.
Like this:
axwm.png


There are two ways a user can link to the Spotify song.

1) Using the BB code:
Code:
[media=spotify][/media]
Inside the Media tag will be the track number such as:
Code:
[media=spotify]spotify:track:4bz7uB4edifWKJXSDxwHcs[/media]

2) Link to the content itself:...

Read more about this resource...
 
When I copy the url its formatted like this...

https://play.spotify.com/artist/7mnBLXK823vNxN3UWB7Gfz

and so it doesnt work. If I paste your embed link to the chemical brothers it works.

I never had anyone with problems before. Users on my forum use it often. I'm not sure why copying the song comes out like that. The img I used was directly from spotify them selves:
https://developer.spotify.com/technologies/widgets/spotify-play-button/
I'm actually Canadian and Spotify does not allow Canadians to use the service so I can not completely test this to be honest. I had friends test it for me. It was a requested feature I seen so I made it. however due to me Being Canadian, there is a limit on how well I can test the plugin.

Like I said though, the plugin has worked for many so far with no issues. I believe there just must be some sort copying doing wrong on your URL's of some sort.

Take a look at the img below:
fc2iMIU.png


Are you sure you are clicking "Copy Spotify URL" and not "Copy HTTP Link" ?
 
Will this be upgraded to Xenforo 1.3?
It should actually work fine as a standalone addon in 1.3.

I now understand XenForo 1.3 has a BB Code manager. I am going to be waiting for a stable release to come out before I start seeing what else I can do with the addon.
 
A user wanted to embed his playlist using:

Code:
spotify:user:m_nkz:playlist:44cNGyPgEjxRASgKch1dY6

Is this possible?
 
@JordanH Could you please add playlist support for this? I've tried other bbcode media managers and haven't found one that works yet! I'm running Xenforo 1.2.4, if that makes any difference. :)
 
Hello,

I wanted to know if it works with a playlist?

And if it fonctionnerai in a html block?

Thank you in advance.

Regards
 
I have just installed this spotify addon but it only works if I put the link between media brackets but it does not work when I paste the spotify link directly (just shows the link, does not generate the embedded player).

Also I get an error when I try to insert it as a video.

ZZslX4g.png


N553BXN.png
 
Last edited:
Top Bottom