Support » Plugin: Tabby Responsive Tabs » Bandcamp embed not working within a tab

  • Resolved Mr Lucky

    (@voodoochill)


    If I put a bandcamp embed shortcode inside a tab, it doesn’t work.

    Is this a limitation of of putting one shortcode inside another, or is there a solution?

    Thanks

    EDIT: I just noticed, using the bandcamp iframe code doesn’t work either.

    2nd EDIT: works fine as long as it is in the FIRST tab

    • This topic was modified 7 years, 3 months ago by Mr Lucky.
    • This topic was modified 7 years, 3 months ago by Mr Lucky.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author cubecolour

    (@numeeja)

    I imagine that this would be similar to the issue with dynamically-created galleries mentioned in the FAQ, where the content is rendered with zero height & width if the tab containing the content is not visible on page load.

    Which plugin were you using to provide the bandcamp embed shortcode? The most obvious one which came up in a search appears to be long abandoned.

    • This reply was modified 7 years, 3 months ago by cubecolour.
    Thread Starter Mr Lucky

    (@voodoochill)

    Thanks for the quick response.
    The plugin is Jetpack shortcode embeds (recommended by bandcamp)

    Plugin Author cubecolour

    (@numeeja)

    I don’t use Jetpack so I can’t test the bandcamp shortcodes it provides, however I have experimented with adding standard Bandcamp iframe embeds into a tabgroup.

    I can embed the players in tabs, but apart from the player in the first tab, the album image does not appear until the play button is activated, and the track listing is not shown at all, so I can see a problem.

    This is not caused by a limitation of putting a shortcode within a shortcode, however as I suspected earlier, I believe this is due the the content being rendered incorrectly if it is not visible on page load – ie the same issue that some image gallery plugins have with tabs. The Bandcamp devs might have a fix for this, however I don’t think it is something that can be corrected in the tab plugin.

    Thread Starter Mr Lucky

    (@voodoochill)

    Thanks, yes what you describe is exactly what I find.

    So I will use my workaround: put the bandcamp embed in the first tab.

    EDIT: just found that they don’t work within a spoiler, which confirms what you say if the content is not immediately visible on the page.

    • This reply was modified 7 years, 3 months ago by Mr Lucky.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bandcamp embed not working within a tab’ is closed to new replies.