Mar 30
Permalink

Muxtape embedded in your tumblr

wizzninetynine:

I’m in love with Muxtape and i thank JSTN for that great service!

I spent some hours now to develop a possibility to embed my Muxtape in my Tumblr. Fortunately it works! I guess that JSTN has planned to develop such a function later on, but meanwhile you might want to use my little javascript.

To embed it you just need to add the following code to the description of your tumblr (click “customize” and paste the code into the textarea that is titled “Description (or HTML and widgets)”).

 

Please insert your Muxtape name where it says “[YOUR-MUXTAPE-NAME]”.

The little playlist that will show up uses your Muxtape color as background and white as foreground.

I tested this piece of code with Firefox, Safari and IE 7 (all on Windows XP) and it works. But it looks best in Firefox.

—-

There was the problem that tumblr replaces a simple quotation mark with another one that isn’t allowed in html-context. That caused an error in the markup. I replaced the double quotation marks with single quotation marks. Not very beautiful, but it works now. Just copy the code above, it should be fine now.

And again: Currently this works best in Firefox.

I hoped someone would be kind enough to do this.