What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

This is a bit of a silly request, but since SE has recently been posting their Podcasts on soundcloud, I feel like I now have a legitimate reason to bring this up.

Would implementing oneboxing support (a la facebook) for SoundCloud tracks be quite difficult? Basically, similar to the way Wikipedia oneboxes, with a track title which links to the SoundCloud page, album art pulled from SoundCloud, and some track info (length, genre, title, tags) would be ideal. Or, even just a static image linking to the track page would be nice to have.

Example (click here for larger image):

Even a still image, like this would be useful

What's great about Soundcloud is that they have an entire section of their site dedicated to community developed apps that use Soundcloud's API for all kinds of different things, and there's even an area specifically for developers for anyone looking to incorporate Soundcloud into their own app.

I don't know if any of that would actually be useful for this, but it still says something about the company.

share|improve this question
For the record, I wasn't suggesting a flash auto-embed as was suggested in that linked question. More of the youtube-style oneboxing we've seen already. – GnomeSlice Sep 16 '11 at 15:17
I agree, this approach is different (and is something I'd be more inclined to see added). – Tim Stone Sep 16 '11 at 15:28
I'm not familiar with how facebook does this, but if Tim Stone's gonna jump off the bridge, then so will I! – Pops Sep 16 '11 at 15:36
You have a bad track record with oneboxing. This isn't like oneboxing rotten tomatoes for movies.se, and oneboxes are already so annoying someone made a userscript just so they could collapse them. If the goal is to allow you to advertise that you are listening to music, I cannot disagree more with implementing this. – jmac Jan 31 '14 at 5:08
We have a processing plugin for SoundCloud now, which we selectively turn on site per site as needed, embedding the player in a post. I'm going to look into what it would take to put this in chat. – Tim Post May 1 '14 at 6:37
@TimPost bump? :) – ᔕᖺᘎᕊ Aug 15 at 17:03

2 Answers 2

I've made a userscript to do this.

The result? Exactly as you imagined :)

enter image description here

It's based largely off my Github oneboxer, just modified to work for SoundCloud. It uses the SoundCloud API to get any relevant information and displays it in a pretty manner.

This will only look good if the linked track has a description and possibly some tags; otherwise it will look very plain :/

You can install the userscript directly from Github

Or, view the source code.

I think the advantage of having it as a userscript is that it can embed the player -- because if you want it, you choose to install it, but if SE did use their processing plugin for SoundCloud it would be better, because then everybody would be able to have oneboxed links! :)

share|improve this answer
Thanks for taking the time to do this! I can't get it to work in chrome, though. Installed it and enabled developer extensions and... nothing. (I don't know much about this stuff.) – GnomeSlice Nov 8 at 13:03
@GnomeSlice Install Tampermonkey and then clink the link 'from Github'. Tampermonkey will do everything else for you! :) You can find me in the Tavern if it doesn't work for you though :) – ᔕᖺᘎᕊ Nov 8 at 13:11
seems to not like tracks with a long list of tags. :P puu.sh/lpsfq/09cbdeb3c8.png – GnomeSlice Nov 18 at 1:38
I deleted it because it was making my webpage scroll further to the right every time a new message was posted. It was in The Bridge (gaming room). – GnomeSlice Nov 21 at 19:53
@GnomeSlice oh ok, see the Sandbox: chat.meta.stackexchange.com/rooms/651/sandbox, I've added a screenshot there to show it! (fixed!) – ᔕᖺᘎᕊ Nov 21 at 19:56

Note: The SE Staff have decided not to embed things in chat, only to link to them. This answer is invalid.

Soundcloud has already released a way to embed links in web pages, so it shouldn't be hard to put it in chat.

<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/122750992"></iframe>

That is the code for their embedded player, why not embed it in chat? If Soundcloud is embedded like that, it will make it easier to listen to for the chat users.

(Note: I am in no way an employee of SE and am not representing them, just expressing my opinion.)

share|improve this answer
I don't think embedding the player directly into chat is a very good idea. I certainly don't want to be randomly downloading things because someone posted a Soundcloud link. It's bad enough people post links to animated GIF images... – animuson Dec 1 '13 at 21:58
The player doesn't involve downloading? (the GIF thing is true, except in some cases (showing off working code, etc) – Pip Dec 1 '13 at 21:59
It requires downloading an entire SWF file in addition to the information for the specific file. If it were just a static image and text, it wouldn't be so bothersome. Besides, they've already stated they won't be embedding things in chat. – animuson Dec 1 '13 at 22:04
@animuson ah. thanks for the correction. Do you want me to remove the question? – Pip Dec 1 '13 at 22:05
@animuson no? Should I take my answer down? – Pip Dec 9 '13 at 1:55
Doesn't require flash now anyway. – bjb568 Jun 20 at 1:44
I've used the embed in my userscript :) +1 – ᔕᖺᘎᕊ Oct 24 at 13:54
@ᔕᖺᘎᕊ oh cool, thanks! – Pip Oct 24 at 14:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .