WordPress.org

Ready to get started?Download WordPress

Forums

[Theme: Pilot Fish] Bandcamp embed doesn't work (11 posts)

  1. suprakarma
    Member
    Posted 1 year ago #

    I'm a wordpress noob.

    This is my test site: http://chise2.byethost9.com/

    I can't get bandcamp embed/widgets to work properly on this theme. Can't click on tracks, can't change songs. Also, i want to remove the scroll bar, make the player taller, but the theme forces the embed/widget to be that height (i tried to change it to no avail).
    Any help is much appreciated. Thank you.

    [ Please do not bump, that's not permitted here. ]

  2. Daniel Zhao
    Member
    Posted 1 year ago #

    Which plugin are you using? the WP BandCamp?

  3. Daniel Zhao
    Member
    Posted 1 year ago #

    Would you provide me an album and an ID so I can try it on my theme development site??

  4. suprakarma
    Member
    Posted 1 year ago #

    I tried with both the WP Bandcamp widget and the embed code from the Bandcamp site.
    One album id: 463423256

    Thanks.

  5. suprakarma
    Member
    Posted 1 year ago #

  6. Daniel Zhao
    Member
    Posted 1 year ago #

    The height of the embeded player is set by the plugin author, you can change it in the file wp-bandcamp/components/general.php from the Editor under the Plugins panel. In the file, there is a function called "function wp_bandcamp_player_dimensions ( $size = null )" you can change the width and height from there.

  7. Daniel Zhao
    Member
    Posted 1 year ago #

    As for song tracks not clickable, I found this post, http://wordpress.org/support/topic/plugin-wp-bandcamp-songs-from-album-not-clickable talking about the same thing, maybe you should follow that thread ;)

  8. suprakarma
    Member
    Posted 1 year ago #

    Thanks Danni, but I can't change the height or width, no matter what numbers i put. At least if the tracks were clickable, all would be well.
    The thing is that if i add an album with less tracks (and the height of the player doesn't force the appearance of the scroll bar), then i can click the tracks... So i think the height, and the scroll bar, are related to the unclickable tracks.

  9. Daniel Zhao
    Member
    Posted 1 year ago #

    try add this to the end of style.css of the pilot fish theme:

    /*	BandCamp Player	*/
    .widget_bandcamp_player iframe {
    	height: 650px !important;
    }
  10. suprakarma
    Member
    Posted 1 year ago #

    No result. Somehow i made the tracks clickable. But the height is still unchangeable.

  11. BlackChicken
    Member
    Posted 1 year ago #

    Danni post above works. Go to wp-bandcamp/components/general.php under the editor tab. Click edit next to the bandcamp widget. Change the dimensions below.

    $dimensions = array (
    'venti' => array(400,100),
    'grande' => array(300,100),
    'grande2' => array(300,355),
    'grande3' => array(300,485),
    'tall' => array(150,295),
    'tall2' => array(150,450),
    'short' => array(46,23)
    );
    return strlen($size) ? $dimensions[$size] : $dimensions;

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags