Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

Slideshare embeds don't work when pasting the URL in the block editor #92854

Closed ariel-maidana closed 4 weeks ago

ariel-maidana commented 1 month ago

Quick summary

Slideshare is listed as a supported service on this page: https://wordpress.com/support/wordpress-editor/blocks/embed-block/#other

However, pasting a Slideshare URL in the block editor results in an error message:

Screenshot on 2024-07-20 at 08-06-37

Workaround

Use a shortcode instead. For example:

 [slideshare id=270352617&doc=test-lorem-ipsum-file-this-is-a-test&w=500]

Steps to reproduce

  1. Open the Block Editor.
  2. Paste a Slideshare embed in a new block.
  3. See issue.

What you expected to happen

The content should be embedded.

What actually happened

This error message appeared instead:

Sorry, this content could not be embedded.

Screenshot on 2024-07-20 at 08-06-37

Impact

All

Available workarounds?

Yes, easy to implement

Platform (Simple and/or Atomic)

Simple, Atomic

Logs or notes

In simple sites, the error message doesn't appear, but the content also fails to embed. The Slideshare URL is simply added as text in a paragraph, with no error messages. The shortcode workaround works for both Atomic and simple sites.

ariel-maidana commented 1 month ago

8506538-zd-a8c

jartes commented 4 weeks ago

📌 FINDINGS/SCREENSHOTS/VIDEO Slideshare has recently deprecated their oEmbed API, and it's also reported in Core: https://core.trac.wordpress.org/ticket/61349

📌 ACTIONS

github-actions[bot] commented 4 weeks ago

Support References

This comment is automatically generated. Please do not edit it.