Expose oEmbed provider URL setting in the Media configuration form

Created on 12 September 2018, over 6 years ago
Updated 21 April 2020, over 4 years ago

Problem

In Russia the URL https://oembed.com/providers.json, as well the whole website https://oembed.com/ is blocked by providers by Roskomnadzor.

Media module in 8.6. is have setting media.settings.oembed_providers_url which used to parse available and actual oEmbed providers for Media. e.g. for Remote video media type.

In our case, Drupal can't access this JSON file and Remote video can't be created at all. Drupal throws error and thats it.

If I trying to add Remote Video on Simplytest, with same URL, this works fine as expected.

Solution

The URL of the provider database is already a configuration setting. Let's expose it in the Media module's configuration form (along with good help text and validation) so that site builders can easily use an alternate provider database.

Remaining Tasks

Write a patch, write tests, bikeshed the help text so it's nice and clear, commit.

Feature request
Status

Closed: duplicate

Version

8.9 ⚰️

Component
Media 

Last updated 1 day ago

Created by

🇷🇺Russia niklan Russia, Perm

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024