07 December 2010 (age 20) Music Web

Generate the JSON code for those new Bandcamp embeddable players with my handy little app.

Edit: There is a new version of this app that’s easier than ever to use! Check out the new version.

If you’re a tech-savvy musician and haven’t heard of Bandcamp, you’re missing out. One of their many phenomenal features that was recently released is the ability to have complete pixel-perfect control over the layout of your embedded media players (like the one you can see in the sidebar to the left).

To create the settings for these custom layouts, you need to muck around in JSON (which is not very fun). So I put together a little app that lets you customize your player through a form, and then copy the code that it generates - easy as pie. Check it out:

http://demo.samnabi.com/bcembed

Leave bug reports and feature requests in the comments below. I hope this is useful for some people!

Note: There are still a couple features to add, namely support for text colour and tracklist row height. I’ll get to those after I’m done my research report - this app is a result of me procrastinating on that!

Sam Nabi

Comments

Sam Nabi 14 February 2011, 19:57

I’m working on a new version that will be out shortly. It’ll have a real working preview and a simpler copy-and-paste code. Stay tuned.

Validation 21 May 2011, 00:30

 Hey, i cant seem to get this to work. I keep getting a “layout cant be loaded” error.<br>Any help?

Sam Nabi 22 May 2011, 22:14

@777c50e60e43e2ef1a5692be620ede21:disqus - Sorry to hear it’s not working out for you. I can’t replicate the error on my computer, so would you mind sending me an email at sam@samnabi.com with your system info (browser/os versions) and a screenshot if possible?

JG 22 January 2012, 23:14

Hey Sam. This thing looks great. I can’t get it to work, however. I just keep getting the “failed to load layout” error. Is there somewhere specific that the crossdomain_sample.xml file should go? The layoutsettings.txt seems to be linked up just fine.

Sam Nabi 26 January 2012, 13:04

Try renaming the file to just crossdomain.xml. Make sure both files are in the same directory as well.

Post a comment

Comments are closed.