YOUTUBE PROBLEMS IN DRUPAL 8

For those of you who are using the media module, you may be getting this error that does not allow you to place a youtube video on the website.

The provided URL does not represent a valid oEmbed resource.

The solution is in this blog. You have to open the settings.php file and put the line:

$settings['http_client_config']['force_ip_resolve'] = 'v4';
Tags

Have Any Project in Mind?

If you want to automate your business or do something with Drupal, let's talk.

AI automation, consulting, development or Drupal website maintenance.