Trying to embed bandcamp.com player in a blog post
I’m trying to embed a bandcamp,com player for this track in a blog post. The share/embed link on the bandcamp page generates this code for wordpress.com:
[bandcamp track=1234984057 bgcol=FFFFFF linkcol=4285BB size=venti]
and this code for wordpress.org:
<iframe width="400" height="100" style="position: relative; display: block; width: 400px; height: 100px;" src="http://bandcamp.com/EmbeddedPlayer/v=2/track=1234984057/size=venti/bgcol=FFFFFF/linkcol=4285BB/" allowtransparency="true" frameborder="0"><a href="http://mariancall.bandcamp.com/track/got-to-fly">Got to Fly by Marian Call</a></iframe>
Neither succeeds in embedding the player. The wordpress.com version doesn’t get displayed in the post at all, and the wordpress.org version is just converted into a link to the bandcamp,com page, ignoring the iframe tags.
The blog I need help with is timtfj.wordpress.com.
I’m sorry but iframes are not supported here for security reasons so the software is stripping the code out. http://en.support.wordpress.com/code/
audio player > http://en.support.wordpress.com/audio/
Alternative audio players > http://wpbtips.wordpress.com/2009/12/05/alternative-audio-players/
And the shortcode? That’s supposedly generated for wordpress.com—unlike iframe it isn’t being stripped out of the post, but neither is it displaying anything.
Wow! I just placed the code you have for wordpress.com in my test blog in the HTML and it’s working fine.
Try it again because I don’t see why I can copy and paste the shortcode into the HTML editor and have it work and you can’t.
I’ll try again in my test blog—could it be theme-dependent?
Are you putting it in the Visual editor or the HTML editor? Whichever it is, try the other.
It’s a browser problem. I’ve just tried switching browsers. The player is visible in Firefox 3.6, but doesn’t appear in Opera 11.11, which is my usual browser.
Ahhh … that explains it.
Thanks for the link! I seem to be one version ahead of them (Opera 11.11 as opposed to 11.10) but I’ve bookmarked it for future use when I finally try out Chrome. :-)
You’re welcome and happy blogging. :)
The topic ‘Trying to embed bandcamp.com player in a blog post’ is closed to new replies.