Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #165999
    Dutchie
    Participant

    When using the soundcloud embed with the block editor, the player does not show. There is only a line of a few pixels being shown and when I set

    .wp-embed-responsive .wp-block-embed__wrapper iframe{height: auto !important;}

    the player never gets to full height, but the wrapper flows over any content above and below.

    To confirm it’s a theme issue, I used different browsers.
    When I use the customizer to preview the Twenty Nineteen theme the player shows as intended.

    Only by adding the soundcloud link by adding it to a classic block, the theme shows the player as it should.

    To see the issue: https://blamedutchie.photography/blog/why-talenthouse-sucks

    #166067
    Skandha
    Participant

    @dutchie: Hello there,
    Please try using Custom HTML block.
    Add a Custom HTML block and add the following code.
    <iframe width="100%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/238108664&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe>

    Let me know if the desired soundcloud player shows up.
    Kind Regards,
    Skandha

    #166132
    Dutchie
    Participant

    @Skandha:

    Hi,

    Like this the player shows up without a problem. I was hoping for a non-iframe solution, though 😉

    Thanks.

    #166143
    Skandha
    Participant

    @dutchie: Hello Dutchie,
    I think that is the best way to do it. I hope I was able to resolve your issue. If it’s not too much trouble,
    I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/clean-fotografie/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂

    Kind Regards,
    Skandha

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Soundcloud embeds in block editor’ is closed to new replies.