Bandcamp/Soundcloud
- Heathen
- Rank This Poster
- Posts: 3988
- Joined: Wed January 30, 2013 4:30 pm
Bandcamp/Soundcloud
Let's have tags to embed that shit. THANK YOU.
cutuphalfdead wrote:so glad i don't see signatures
- Norah
- Poster of the Year
- Posts: 37327
- Joined: Tue January 01, 2013 2:04 pm
- Location: September 2020 Poster of the Month
Re: Bandcamp/Soundcloud
Mods, admins, make it happen.
- Sgt. Crackpot
- F.U.B.A.R
- Posts: 9104
- Joined: Wed July 03, 2013 11:21 pm
- Twitter: RobertDowneyJr
- Location: Lft Craquepeau
- Contact:
Re: Bandcamp/Soundcloud
Custom BB codes need to be created. This one's for Soundcloud. Apparently the Bandcamp one is a little trickier, but I'll see if I can find one.
Soundcloud:
BBCODE USAGE:
BBCODE EXAMPLE:
HTML REPLACEMENT:
ICON:

Soundcloud:
BBCODE USAGE:
Code: Select all
[soundcloud]{URL}[/soundcloud]Code: Select all
[soundcloud]http://soundcloud.com/user-name/song-title[/soundcloud]Code: Select all
<object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url={URL}&g=bb"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url={URL}&g=bb" type="application/x-shockwave-flash" width="100%"></embed></object>
Last edited by Sgt. Crackpot on Mon October 21, 2013 12:42 am, edited 2 times in total.
Rangi Guy wrote:So skating back to the train station after work today things went wrong.....now my skateboard is at the bottom of the harbour
- Sgt. Crackpot
- F.U.B.A.R
- Posts: 9104
- Joined: Wed July 03, 2013 11:21 pm
- Twitter: RobertDowneyJr
- Location: Lft Craquepeau
- Contact:
Re: Bandcamp/Soundcloud
The custom BB code for Bandcamp is certainly a little trickier.
Bandcamp:
BBCODE USAGE:
BBCODE EXAMPLE:
HTML REPLACEMENT:
I'm not 100% sure if this one will work correctly, but it's worth a try.
Bandcamp:
BBCODE USAGE:
Code: Select all
[bandcamp album={NUMBER} bgcol={SIMPLETEXT1} linkcol={SIMPLETEXT2} size={SIMPLETEXT3}][/bandcamp]Code: Select all
[bandcamp album=1848888471 bgcol=FFFFFF linkcol=4285BB size=venti][/bandcamp]Code: Select all
<iframe width="400" height="100" style="position: relative; display: block; width: 400px; height: 100px;" src="http://bandcamp.com/EmbeddedPlayer/v=2/album={NUMBER}/size=venti/bgcol=FFFFFF/linkcol=4285BB/" allowtransparency="true" frameborder="0"></iframe>Rangi Guy wrote:So skating back to the train station after work today things went wrong.....now my skateboard is at the bottom of the harbour
- malice
- post-structuralist
- Posts: 4377
- Joined: Tue January 01, 2013 2:22 pm
- Location: faked by jorge
Re: Bandcamp/Soundcloud
my company wants to hire you
Dev wrote:you're delusional. you are a sad sad person. fuck off. you're mentally ill beyond repair. i don't need your shit. dissapear.
- Spoiler: show
- Sgt. Crackpot
- F.U.B.A.R
- Posts: 9104
- Joined: Wed July 03, 2013 11:21 pm
- Twitter: RobertDowneyJr
- Location: Lft Craquepeau
- Contact:
Re: Bandcamp/Soundcloud
malice wrote:my company wants to hire you
Rangi Guy wrote:So skating back to the train station after work today things went wrong.....now my skateboard is at the bottom of the harbour
- malice
- post-structuralist
- Posts: 4377
- Joined: Tue January 01, 2013 2:22 pm
- Location: faked by jorge
Re: Bandcamp/Soundcloud
the official answer is (essentially) a software product company providing business intelligence via web based subscription servicesSgt. Crackpot wrote:malice wrote:my company wants to hire youWhat does your company do?
the actual answer is they don't have a fucking clue these days, but they want to hire you anyway in case they figure it out.
Dev wrote:you're delusional. you are a sad sad person. fuck off. you're mentally ill beyond repair. i don't need your shit. dissapear.
- Spoiler: show
- Sgt. Crackpot
- F.U.B.A.R
- Posts: 9104
- Joined: Wed July 03, 2013 11:21 pm
- Twitter: RobertDowneyJr
- Location: Lft Craquepeau
- Contact:
Re: Bandcamp/Soundcloud
As enticing as it sounds, I think the 14,170 KM commute is going to kill me after a while.malice wrote:the official answer is (essentially) a software product company providing business intelligence via web based subscription servicesSgt. Crackpot wrote:malice wrote:my company wants to hire youWhat does your company do?
the actual answer is they don't have a fucking clue these days, but they want to hire you anyway in case they figure it out.
Rangi Guy wrote:So skating back to the train station after work today things went wrong.....now my skateboard is at the bottom of the harbour
- Sgt. Crackpot
- F.U.B.A.R
- Posts: 9104
- Joined: Wed July 03, 2013 11:21 pm
- Twitter: RobertDowneyJr
- Location: Lft Craquepeau
- Contact:
Re: Bandcamp/Soundcloud
It's a shame we couldn't have had our 9 coffee breaks a day together though, Mary. They would've been great.
Rangi Guy wrote:So skating back to the train station after work today things went wrong.....now my skateboard is at the bottom of the harbour
- Heathen
- Rank This Poster
- Posts: 3988
- Joined: Wed January 30, 2013 4:30 pm
Re: Bandcamp/Soundcloud
The bandcamp one doesn't even have to be that complicated/customized. Let's say we opt for an unique size for the player on the board (the 400x120 one for instance), people would just have get the album ID within the BC embed code:
and use it like this:
That would look like this:
But the easiest way for the user would of course be to let them grab the full embed code without worrying about which part is important. Maybe the wordpress embed code, as it's shorter and simpler.
The only problem with that is that if you select the large player on bandcamp, you get a slightly different embed code with an additional parameter, which is going to fuck things up.
So maybe the first option of just getting the album ID from either embed code and having a fixed size/display might be easier to implement. I reckon the people who are going to embed bandcamp streams are internet-savvy enough to know how to get the album ID within the full embed code.
(note: I can't test any of that right now, so there could be mistakes)
Code: Select all
<iframe style="border: 0; width: 100%; height: 120px;" src="http://bandcamp.com/EmbeddedPlayer/album=*****JUST THIS NUMBER RIGHT HERE*****/size=medium/bgcol=ffffff/linkcol=0687f5/transparent=true/" seamless><a href="http://ihadanaccident.bandcamp.com/album/boogie-boy-metal-mouth">Boogie Boy Metal Mouth by Boogie Boy Metal Mouth</a></iframe>Code: Select all
[bandcamp]2421209730[/bandcamp]Code: Select all
[bandcamp]{NUMBER}[/bandcamp]Code: Select all
<iframe style="border: 0; width: 100%; height: 120px;" src="http://bandcamp.com/EmbeddedPlayer/album={NUMBER}/size=medium/bgcol=ffffff/linkcol=0687f5/transparent=true/" seamless></iframe>But the easiest way for the user would of course be to let them grab the full embed code without worrying about which part is important. Maybe the wordpress embed code, as it's shorter and simpler.
Code: Select all
[bandcamp][bandcamp width={SIMPLETEXT1} height={SIMPLETEXT2} album={NUMBER} size={SIMPLETEXT3} bgcol={SIMPLETEXT4} linkcol={SIMPLETEXT5}][/bandcamp]Code: Select all
<iframe style="border: 0; width: 100%; height: 120px;" src="http://bandcamp.com/EmbeddedPlayer/album={NUMBER}/size=medium/bgcol=ffffff/linkcol=0687f5/transparent=true/" seamless></iframe>So maybe the first option of just getting the album ID from either embed code and having a fixed size/display might be easier to implement. I reckon the people who are going to embed bandcamp streams are internet-savvy enough to know how to get the album ID within the full embed code.
(note: I can't test any of that right now, so there could be mistakes)
cutuphalfdead wrote:so glad i don't see signatures
- Sgt. Crackpot
- F.U.B.A.R
- Posts: 9104
- Joined: Wed July 03, 2013 11:21 pm
- Twitter: RobertDowneyJr
- Location: Lft Craquepeau
- Contact:
Re: Bandcamp/Soundcloud
That's probably a better way, nice work heathen. 
Rangi Guy wrote:So skating back to the train station after work today things went wrong.....now my skateboard is at the bottom of the harbour
- Norah
- Poster of the Year
- Posts: 37327
- Joined: Tue January 01, 2013 2:04 pm
- Location: September 2020 Poster of the Month
Re: Bandcamp/Soundcloud
Just the id code would be best.
- Heathen
- Rank This Poster
- Posts: 3988
- Joined: Wed January 30, 2013 4:30 pm
Re: Bandcamp/Soundcloud
Yeah, but there's something I hadn't thought about. This was for embedding albums, embedding single tracks is yet another code
vs.
It's been a while since I've used BBcodes and I'm not sure if the syntax allows for more complicated patterns (where part of the text would be optional to account for the presence or absence of the track parameter). If not that means using two different bbcodes, which is kinda shitty.
Code: Select all
[bandcamp width=100% height=120 album=1725912726 size=medium bgcol=ffffff linkcol=0687f5]Code: Select all
[bandcamp width=100% height=120 album=1725912726 size=medium bgcol=ffffff linkcol=0687f5 t=6]cutuphalfdead wrote:so glad i don't see signatures
- Norah
- Poster of the Year
- Posts: 37327
- Joined: Tue January 01, 2013 2:04 pm
- Location: September 2020 Poster of the Month
Re: Bandcamp/Soundcloud
What if it was set up similar to the URL code so it's something like [bandcamp=ALBUMID]track number[\bandcamp]?
It would at least be a syntax that's somewhat familiar to codes we already use.
It would at least be a syntax that's somewhat familiar to codes we already use.
- Heathen
- Rank This Poster
- Posts: 3988
- Joined: Wed January 30, 2013 4:30 pm
Re: Bandcamp/Soundcloud
I don't know how that would work when you're embedding the full set (meaning there's no track number). We'd have to be able to write a code that does "if there's a track number use the code for the track player otherwise use the code for the album player", and while this is easily doable in general I'm not certain the custom BBcode feature of the board allows it.cutuphalfdead wrote:What if it was set up similar to the URL code so it's something like [bandcamp=ALBUMID]track number[\bandcamp]?
It would at least be a syntax that's somewhat familiar to codes we already use.
Or did you mean having this code as a separate BBcode for embedding tracks?
cutuphalfdead wrote:so glad i don't see signatures
- Norah
- Poster of the Year
- Posts: 37327
- Joined: Tue January 01, 2013 2:04 pm
- Location: September 2020 Poster of the Month
Re: Bandcamp/Soundcloud
The if/then statement regarding the track is ideal, but is it the end of the world having 2 codes?Heathen wrote:I don't know how that would work when you're embedding the full set (meaning there's no track number). We'd have to be able to write a code that does "if there's a track number use the code for the track player otherwise use the code for the album player", and while this is easily doable in general I'm not certain the custom BBcode feature of the board allows it.cutuphalfdead wrote:What if it was set up similar to the URL code so it's something like [bandcamp=ALBUMID]track number[\bandcamp]?
It would at least be a syntax that's somewhat familiar to codes we already use.
Or did you mean having this code as a separate BBcode for embedding tracks?
[BCalbum]ID[/BCalbum]
[BCtrack=track#]albumid[/BCtrack]
- malice
- post-structuralist
- Posts: 4377
- Joined: Tue January 01, 2013 2:22 pm
- Location: faked by jorge
Re: Bandcamp/Soundcloud
they're never gonna do any of this, btw.
Dev wrote:you're delusional. you are a sad sad person. fuck off. you're mentally ill beyond repair. i don't need your shit. dissapear.
- Spoiler: show
- Norah
- Poster of the Year
- Posts: 37327
- Joined: Tue January 01, 2013 2:04 pm
- Location: September 2020 Poster of the Month
Re: Bandcamp/Soundcloud
Why not? They've added twitter and vine embed codes recently. Having the soundcloud one would have been very useful in the last pearl jam tourament and would be huge in any thread McParadigm makes in Release.
- malice
- post-structuralist
- Posts: 4377
- Joined: Tue January 01, 2013 2:22 pm
- Location: faked by jorge
Re: Bandcamp/Soundcloud
must you ruin every good shot i take at the mods around here with your confounded logic and reason, chud. jesus.cutuphalfdead wrote:Why not? They've added twitter and vine embed codes recently. Having the soundcloud one would have been very useful in the last pearl jam tourament and would be huge in any thread McParadigm makes in Release.
Dev wrote:you're delusional. you are a sad sad person. fuck off. you're mentally ill beyond repair. i don't need your shit. dissapear.
- Spoiler: show
- E.H. Ruddock
- Guys, I am not a moderator! I swear to God! Why does everyone think I'm a moderator?
- Posts: 51787
- Joined: Tue January 01, 2013 2:48 pm