Allow opting out of oembed discovery

Created on 4 April 2024, 3 months ago

Problem/Motivation

Drupal's oembed media source plugin includes support for oembed discovery.
When a URL can't be pattern matched against the provider list, Drupal makes a http request to the entered URL and looks for a < link type="application/$format+oembed" href="$url" /> element where $format is either XML or JSON and $href is a URL that provides resource information.
If this element is found, Drupal makes a subsequent request to that URL to fetch metadata.
In many cases this is not needed, there's a set list of Oembed providers (e.g. Youtube, Vimeo) and the discovery is overkill, making extraneous HTTP requests for URLs that are entered in error

Steps to reproduce

Proposed resolution

Add a config option to opt-out of resource discovery

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
MediaΒ  β†’

Last updated about 14 hours ago

Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024