WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 2 months ago

#46843 closed defect (bug) (invalid)

SoundCloud embed isn't working

Reported by: padrow Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.1
Component: Embeds Keywords:
Focuses: Cc:

Description

Today I tried embedding SoundCloud using Gutenberg feature, there is an error message: Sorry, we could not embed that content.

So I type a shortcode

[soundcloud url="https://soundcloud.com/richard-stringer-1/god-of-all-grace"]

and it works!

Here is the screenshot:

https://i.ibb.co/rFtwkcS/screenshot-padrohome-wordpress-com-2019-04-09-17-15-00.jpg

Attachments (1)

Screen Shot 2019-07-23 at 11.02.50 PM.png (297.3 KB) - added by garrett-eclipse 2 months ago.
Sharing Modal on Soundcloud for specified track showing the Embed tab is disabled.

Download all attachments as: .zip

Change History (4)

#1 @swissspidy
5 months ago

Are you perhaps using Jetpack? The [soundcloud] shortcode does not exist in WordPress core. Embedding via the Gutenberg blocks should work though. So perhaps try deactivating Jetpack and see if embedding works when creating a new post. Let us know the results here.

#2 @padrow
5 months ago

Hi there, thank you for your reply.
I found the SoundCloud shortcode in WordPress support. I find it here:

https://en.support.wordpress.com/soundcloud-audio-player/#soundcloud-shortcode

I posted the wrong link for the screenshot:

https://ibb.co/rFtwkcS

PS: I tried on WordPress.com and WordPress.org (self-hosted), using Gutenberg is not working, including deactivate the Jetpack plugins.

#3 @garrett-eclipse
2 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @padrow

I was able to reproduce the issue on trunk using the URL you provided;
https://soundcloud.com/richard-stringer-1/god-of-all-grace

Initially, I was inclined to open a ticket on the Gutenberg repo but upon a deeper dive found the issue to be creator preference. It seems the richard-stringer-1 user on Soundcloud has disabled the embed capabilities on that song which is why the Soundcloud Block fails it's Embed request.

If you know the owner of the account on Soundcloud you could request they enable embed for the song;
https://help.soundcloud.com/hc/en-us/articles/115003448567-Displaying-an-embed-code-for-your-track
*There is a note about existing players using the track can continue using it which may be why it was functioning for the shortcode.
"Please note: Making the embed code private will not disable embedded players for that track that are already being used."

As this is a setting disabling the behaviour from Soundcloud I'm going to close this issue as invalid. If I've missed the target feel free to reopen the issue for further discussion.

@garrett-eclipse
2 months ago

Sharing Modal on Soundcloud for specified track showing the Embed tab is disabled.

Note: See TracTickets for help on using tickets.