Tagged: soundcloud
- This topic has 3 replies, 2 voices, and was last updated 5 years, 8 months ago by Skandha.
-
AuthorPosts
-
February 16, 2019 at 12:20 pm #165999DutchieParticipant
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
February 17, 2019 at 11:04 pm #166067SkandhaParticipant@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,
SkandhaFebruary 18, 2019 at 4:54 pm #166132DutchieParticipantHi,
Like this the player shows up without a problem. I was hoping for a non-iframe solution, though 😉
Thanks.
February 18, 2019 at 11:48 pm #166143SkandhaParticipant@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 -
AuthorPosts
- The topic ‘Soundcloud embeds in block editor’ is closed to new replies.