Skip to content

Commit

Permalink
Embeds: Remove SlideShare embed block variation (#62394).
Browse files Browse the repository at this point in the history
The oEmbed endpoint for SlideShare is effectively deprecated and throws an error for the majority of slide-decks using the service.

Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>
Co-authored-by: swissspidy <swissspidy@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: talldan <talldanwp@git.wordpress.org>
Co-authored-by: NewYorkerLaura <newyorkerlaura@git.wordpress.org>
  • Loading branch information
6 people authored Jun 7, 2024
1 parent bbdf1a7 commit c7f51bd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/block-library/src/embed/variations.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,6 @@ const variations = [
patterns: [ /^https?:\/\/(www\.)?scribd\.com\/.+/i ],
attributes: { providerNameSlug: 'scribd', responsive: true },
},
{
name: 'slideshare',
title: 'Slideshare',
icon: embedContentIcon,
description: __( 'Embed Slideshare content.' ),
patterns: [ /^https?:\/\/(.+?\.)?slideshare\.net\/.+/i ],
attributes: { providerNameSlug: 'slideshare', responsive: true },
},
{
name: 'smugmug',
title: 'SmugMug',
Expand Down

0 comments on commit c7f51bd

Please sign in to comment.