diff --git a/src/sidebar/media-embedder.ts b/src/sidebar/media-embedder.ts index 20ed45b46f8..e0b66191c9c 100644 --- a/src/sidebar/media-embedder.ts +++ b/src/sidebar/media-embedder.ts @@ -228,13 +228,6 @@ const embedGenerators: Array<(link: HTMLAnchorElement) => HTMLElement | null> = id => `https://player.vimeo.com/video/${id}`, ), - // Matches URLs like https://flipgrid.com/s/030475b8ceff - createEmbedGenerator( - 'flipgrid.com', - /^\/s\/([^/]+)$/, - id => `https://flipgrid.com/s/${id}?embed=true`, - ), - /** * Match Internet Archive URLs * diff --git a/src/sidebar/test/media-embedder-test.js b/src/sidebar/test/media-embedder-test.js index e3bc20a344e..ab491e0ac8a 100644 --- a/src/sidebar/test/media-embedder-test.js +++ b/src/sidebar/test/media-embedder-test.js @@ -275,22 +275,6 @@ describe('sidebar/media-embedder', () => { }); }); - it('replaces Flipgrid links with iframes', () => { - [ - ['https://flipgrid.com/s/abc123', 'abc123'], - ['https://flipgrid.com/s/def456?foo', 'def456'], - ].forEach(([url, id]) => { - const element = domElement('' + url + ''); - - mediaEmbedder.replaceLinksWithEmbeds(element); - - assert.equal( - embedUrl(element), - 'https://flipgrid.com/s/' + id + '?embed=true', - ); - }); - }); - it('replaces internet archive links with iframes', () => { const urls = [ // Video details page.