Trying to embed bandcamp.com player in a blog post

  • Author
    Posts
  • #635368

    timtfj
    Member

    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.

    Any suggestions?

    The blog I need help with is timtfj.wordpress.com.

    #635514

    timethief
    Member

    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/

    #635515

    timtfj
    Member

    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.

    #635516

    timethief
    Member

    Wow! I just placed the code you have for wordpress.com in my test blog in the HTML and it’s working fine.

    #635517

    timethief
    Member

    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.

    #635518

    timtfj
    Member

    I’ll try again in my test blog—could it be theme-dependent?

    #635519

    raincoaster
    Member

    Are you putting it in the Visual editor or the HTML editor? Whichever it is, try the other.

    #635522

    timtfj
    Member

    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.

    #635523

    timethief
    Member

    Ahhh … that explains it.

    #635524

    timethief
    Member

    BTW you can upgrade any browser here > http://browsehappy.com

    #635525

    timtfj
    Member

    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. :-)

    #635526

    timethief
    Member

    You’re welcome and happy blogging. :)

The topic ‘Trying to embed bandcamp.com player in a blog post’ is closed to new replies.