Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Niklan/media_oembed_providers_url_ui

Repository files navigation

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

This module is temporary solution, before issue #2999018 will be solved.

It allows you to change oEmbed Providers URL other than default via UI. For example, in Russia this URL is blocked and oEmbed not working, this why this module exists.

For example, you can use providers.json uploaded on GitHub Gist. For this you upload actual file contents to Gist, and get link to Raw value of file and set it in settings.

For security reasons use only URL's you absolutely trust.

Features:

  • Adds editable field for settings media.settings.oembed_providers_url.
  • Restore default value on uninstall.

REQUIREMENTS

This module requires Media module from Drupal core, and core Drupal 8.6+ in which oEmbed was added.

  • Drupal core >= 8.6.0
  • Media from core.

INSTALLATION

It's recommended to install module via composer, but not necessary.

CONFIGURATION

  1. Navigate to Administration > Extend and enable the module.
  2. To configure oEmbed Providers URL navigate to Administration > Configuration > Media > Media settings. Or use Configuration link from module list.

MAINTAINERS

Releases

No releases published

Packages

No packages published