Make WordPress Core

Opened 6 weeks ago

Closed 5 weeks ago

Last modified 5 weeks ago

#61349 closed defect (bug) (fixed)

Slideshare embeds returning a 404 error

Reported by: talldanwp's profile talldanwp Owned by: peterwilsoncc's profile peterwilsoncc
Milestone: 6.6 Priority: normal
Severity: normal Version: 6.5.3
Component: Embeds Keywords: needs-testing has-patch
Focuses: Cc:

Description (last modified by talldanwp)

Originally reported in Gutenberg - https://github.com/WordPress/gutenberg/issues/62203. Ticketed here, as it seems to be the oembed endpoint returning a 404 error.


### Description

On the latest version of WordPress on a self-hosted site the Block for SlideShare embed is not working. Any attempt to put in the URL of the slide as instructed fails. Message states "Sorry, this content could not be embedded." even though it is a valid url from SlideShare

https://www.slideshare.net/slideshow/the-art-of-the-pitch-wordpress-relationships-and-sales/269457571

Interestingly, previous slides that I have embedded are still visible. I can even duplicate those blocks. However I can't switch out the URL, the same "Sorry, this content could not be embedded." message happens if I attempt any replacement of the existing URL

I resorted to flipping to code view and embedding an iframe to get around the current blocker ( not ideal)

See this page for reference https://newyorkerlaura.com/wordpress-slide-decks/. first deck is an iframe all others are successful embeds using the SlideShare block that were done over a year ago.

### Step-by-step reproduction instructions

  1. Select the Slide Share Block
  2. Attempt to enter a slide share URL such as https://www.slideshare.net/slideshow/the-art-of-the-pitch-wordpress-relationships-and-sales/269457571
  3. The block will not accept the valid URL

https://github.com/WordPress/gutenberg/assets/32318563/0aada927-47b0-4f22-9883-37fb862dd71b

### Screenshots, screen recording, code snippet

_No response_

### Environment info

WordPress 6.5.3 running 2017 theme.

### Please confirm that you have searched existing issues in the repo.

Yes

### Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Change History (9)

#1 @talldanwp
6 weeks ago

  • Description modified (diff)

#2 @dd32
6 weeks ago

It appears that the Slideshare.net oEmbed API is not currently (or no longer) available.

Furthermore, the entire developer section of the website is no longer present either.

Compare https://www.slideshare.net/developers/oembed to the last archived copy: https://web.archive.org/web/20230713121454/https://www.slideshare.net/developers/oembed

#3 @dd32
6 weeks ago

Relevant FAQ article suggests that paid accounts are going to be required to view slideshare.net content in the future: https://support.scribd.com/hc/en-us/articles/360046766031-Scribd-SlideShare-August-2020#h_01HCK2924QQ7JAHHA4FZ8AJK3A

I've submitted a support ticket, but to me, it appears like it might've been an intentional removal.
(Although the share feature still lists the [slideshare] shortcode, and the plugins that implement it appear like they'll still work, as it's just an iframe)

Last edited 6 weeks ago by dd32 (previous) (diff)

#4 @dd32
6 weeks ago

Slideshare was less than helpful, sounds like WordPress should just remove all related Slideshare oEmbed code, and leave it for various plugins to use their non-oembed embedder.

Hi dd32,
 
We apologize for the inconvenience.
SlideShare has deprecated the old embed codes due to security vulnerability issues.
 
The good news is that you can take steps to still view or embed the slideshow.
 
If you are:
 
An author of a private presentation whose embeds are no longer working:
• Reach out to the owner of the website embedding your presentation and ask them to re-embed the presentation using the new embed code.
 
The owner of a website that has code embedded in a SlideShare deck that has now been disabled:
• Reach out to the author of the presentation to get the new embed code
• Replace the old embed code with the latest embed code on your site
 
I hope this information was helpful to you. If you need any further assistance, please do not hesitate to let me know, and I will be happy to help!
Best regards,

I asked for clarification, and indeed:

You are correct, I'm afraid we're unable to offer oEmbed or API support. 
Last edited 5 weeks ago by dd32 (previous) (diff)

#5 @peterwilsoncc
6 weeks ago

  • Milestone changed from Awaiting Review to 6.6

Thanks Dion, I'll put this on the 6.6 milestone to remove them as a provider to avoid shipping now broken code.

This ticket was mentioned in PR #6751 on WordPress/wordpress-develop by @peterwilsoncc.


6 weeks ago
#6

  • Keywords has-patch added

The Slideshare oembed endpoint has been effectively deprecated so should no longer be included in the allow list.

Trac ticket: https://core.trac.wordpress.org/ticket/61349#comment:4

#7 @peterwilsoncc
6 weeks ago

I've created PR6751 to remove Slideshare from the allow list. Gutenberg#62394 is to remove the block variation from the editor.

#8 @peterwilsoncc
5 weeks ago

  • Owner set to peterwilsoncc
  • Resolution set to fixed
  • Status changed from new to closed

In 58362:

Embeds: Remove SlideShare embed block variation.

The oEmbed endpoint for SlideShare is effectively deprecated and throws an error for the majority of slide-decks using the service.

Capitalize the name of the service in the deprecation notice in accordance with the wordmark.

Props peterwilsoncc, mukesh27, swissspidy, talldanwp, dd32.
Fixes #61349.

Note: See TracTickets for help on using tickets.